Always cache published vcard
This commit is contained in:
parent
d367fb938d
commit
af9632519c
@ -97,8 +97,8 @@ class XEP_0054(BasePlugin):
|
|||||||
|
|
||||||
def publish_vcard(self, vcard=None, jid=None, block=True, ifrom=None,
|
def publish_vcard(self, vcard=None, jid=None, block=True, ifrom=None,
|
||||||
callback=None, timeout=None):
|
callback=None, timeout=None):
|
||||||
|
self.api['set_vcard'](jid, None, ifrom, vcard)
|
||||||
if self.xmpp.is_component:
|
if self.xmpp.is_component:
|
||||||
self.api['set_vcard'](jid, None, ifrom, vcard)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
iq = self.xmpp.Iq()
|
iq = self.xmpp.Iq()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user