Merge branch 'master' into develop
This commit is contained in:
commit
648f3f978a
@ -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…
x
Reference in New Issue
Block a user