diff options
author | Lance Stout <lancestout@gmail.com> | 2012-10-18 12:26:50 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-10-18 12:26:50 -0700 |
commit | af9632519c93110ce04823665404d3c70baabab2 (patch) | |
tree | 69aabf158429c1f8ff371de5deac3129035326a2 /sleekxmpp/plugins/xep_0054 | |
parent | d367fb938d80aa2398ac36a3ae8e8c580eb37ffc (diff) | |
download | slixmpp-af9632519c93110ce04823665404d3c70baabab2.tar.gz slixmpp-af9632519c93110ce04823665404d3c70baabab2.tar.bz2 slixmpp-af9632519c93110ce04823665404d3c70baabab2.tar.xz slixmpp-af9632519c93110ce04823665404d3c70baabab2.zip |
Always cache published vcard
Diffstat (limited to 'sleekxmpp/plugins/xep_0054')
-rw-r--r-- | sleekxmpp/plugins/xep_0054/vcard_temp.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |