From af9632519c93110ce04823665404d3c70baabab2 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 18 Oct 2012 12:26:50 -0700 Subject: Always cache published vcard --- sleekxmpp/plugins/xep_0054/vcard_temp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/plugins/xep_0054/vcard_temp.py b/sleekxmpp/plugins/xep_0054/vcard_temp.py index 83cbccf8..24da1c05 100644 --- a/sleekxmpp/plugins/xep_0054/vcard_temp.py +++ b/sleekxmpp/plugins/xep_0054/vcard_temp.py @@ -97,8 +97,8 @@ class XEP_0054(BasePlugin): def publish_vcard(self, vcard=None, jid=None, block=True, ifrom=None, callback=None, timeout=None): + self.api['set_vcard'](jid, None, ifrom, vcard) if self.xmpp.is_component: - self.api['set_vcard'](jid, None, ifrom, vcard) return iq = self.xmpp.Iq() -- cgit v1.2.3