From b8be51799c247eb6e3f33edd8030e58fe9d46ed6 Mon Sep 17 00:00:00 2001
From: Jon Lundy <jon@xuu.cc>
Date: Thu, 3 Dec 2020 12:38:26 -0700
Subject: [PATCH]  fix error in xmpp

---
 pkg/keyproofs/vcard.go | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/pkg/keyproofs/vcard.go b/pkg/keyproofs/vcard.go
index 3c53df3..4019a5d 100644
--- a/pkg/keyproofs/vcard.go
+++ b/pkg/keyproofs/vcard.go
@@ -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 {