Skip to content
Snippets Groups Projects
Commit 4379c2d0 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Execute handler only for the correct account

parent 95a984f6
No related branches found
No related tags found
No related merge requests found
......@@ -268,6 +268,9 @@ class ConnectionVcard:
self._vcard_gc_presence_received)
def _vcard_presence_received(self, obj):
if obj.conn.name != self.name:
return
if obj.avatar_sha is None:
# No Avatar is advertised
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment