summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0054/vcard_temp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-10-19 00:15:21 -0700
committerLance Stout <lancestout@gmail.com>2012-10-19 00:15:21 -0700
commit0d448b82214ed8bed3477db375799ae8399d0393 (patch)
treecad4b16d9c1622d858d70e6aae4dece230566734 /sleekxmpp/plugins/xep_0054/vcard_temp.py
parent77f2a339e1626501a1df388050f09342d7bbcd1d (diff)
parente6c95f0a2acfd56ad47f60d9576a0db5458ed118 (diff)
downloadslixmpp-0d448b82214ed8bed3477db375799ae8399d0393.tar.gz
slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.tar.bz2
slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.tar.xz
slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.zip
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/plugins/xep_0054/vcard_temp.py')
-rw-r--r--sleekxmpp/plugins/xep_0054/vcard_temp.py2
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()