fix error in xmpp

This commit is contained in:
Jon Lundy 2020-12-03 12:38:26 -07:00
parent caa625e2d1
commit b8be51799c
Signed by untrusted user who does not match committer: xuu
GPG Key ID: C63E6D61F3035024

View File

@ -76,10 +76,6 @@ func NewXMPP(ctx context.Context, config *xmpp.Config) (*connection, error) {
func (conn *connection) GetXMPPVCard(ctx context.Context, jid string) (vc *VCard, err error) {
log := log.Ctx(ctx)
if err := conn.client.Resume(); err != nil {
return nil, err
}
var iq *stanza.IQ
iq, err = stanza.NewIQ(stanza.Attrs{To: jid, Type: "get"})
if err != nil {