Ensure that initial vCard requests are sent.
This commit is contained in:
parent
41991b5982
commit
5e4b8bd67c
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class XEP_0153(BasePlugin):
|
||||||
|
|
||||||
def _start(self, event):
|
def _start(self, event):
|
||||||
try:
|
try:
|
||||||
vcard = self.xmpp['xep_0054'].get_vcard()
|
vcard = self.xmpp['xep_0054'].get_vcard(self.xmpp.boundjid.bare)
|
||||||
data = vcard['vcard_temp']['PHOTO']['BINVAL']
|
data = vcard['vcard_temp']['PHOTO']['BINVAL']
|
||||||
if not data:
|
if not data:
|
||||||
new_hash = ''
|
new_hash = ''
|
||||||
|
|
Loading…
Reference in a new issue