fix invalid arguments call
This commit is contained in:
parent
8b90191f60
commit
b9d4b51e1d
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ class Connection:
|
||||||
if self.vcard_shas.has_key(jid_stripped):
|
if self.vcard_shas.has_key(jid_stripped):
|
||||||
if avatar_sha != self.vcard_shas[jid_stripped]:
|
if avatar_sha != self.vcard_shas[jid_stripped]:
|
||||||
# avatar has been updated
|
# avatar has been updated
|
||||||
self.request_vcard(self.name, jid_stripped)
|
self.request_vcard(jid_stripped)
|
||||||
else:
|
else:
|
||||||
self.vcard_shas[jid_stripped] = avatar_sha
|
self.vcard_shas[jid_stripped] = avatar_sha
|
||||||
if not ptype or ptype == 'unavailable':
|
if not ptype or ptype == 'unavailable':
|
||||||
|
|
Loading…
Add table
Reference in a new issue