Commit f29512e7 authored by Philipp Hörist's avatar Philipp Hörist

[client_icons] Fix attribute error

parent 64d05826
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment