diff options
author | Philipp Hörist <philipp@hoerist.com> | 2020-01-23 00:50:01 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2020-01-23 00:50:01 +0300 |
commit | f29512e7bf4462bb8f6cbed408e071a695c15a8c (patch) | |
tree | e2eeef2de0e65de7acdd302cc01d8330f0a7d462 /clients_icons | |
parent | 64d05826ade54a0668198b7301393252e7374552 (diff) |
[client_icons] Fix attribute error
Diffstat (limited to 'clients_icons')
-rw-r--r-- | clients_icons/clients_icons.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 49bcf3b..99c4fcf 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -289,11 +289,11 @@ class ClientsIconsPlugin(GajimPlugin): def _on_caps_update(self, event): # Zeroconf - if event.conn.name == 'Local': + if event.account == 'Local': return contact = self._get_contact_or_gc_contact_for_jid( - event.conn.name, event.fjid) + event.account, event.fjid) if contact is None: return @@ -309,7 +309,7 @@ class ClientsIconsPlugin(GajimPlugin): return roster = app.interface.roster iters = roster._get_contact_iter( - event.jid, event.conn.name, contact, roster.model) + event.jid, event.account, contact, roster.model) iter_ = iters[0] # Highest contact changed |