diff options
author | Denis Fomin <fominde@gmail.com> | 2010-10-19 10:29:07 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2010-10-19 10:29:07 +0400 |
commit | 62ac20bcdf76fd3a7ab590d1b825e6c6e09bf31f (patch) | |
tree | 96690954aee7f103a032fd8d2ab3cbd18f6babfd /clients_icons | |
parent | 387916f6663d899758887f5de6893c57e177385a (diff) |
Rename same attr. Fix #3
Diffstat (limited to 'clients_icons')
-rw-r--r-- | clients_icons/clients_icons.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index 718ac5f..50b7fbf 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -197,7 +197,7 @@ class ClientsIconsPlugin(GajimPlugin): self.set_icon(roster.model, iter_, self.renderer_num, caps) return caps = None - tag = iq_obj.iq_obj.getTags('c') + tag = iq_obj.stanza.getTags('c') if tag: caps = tag[0].getAttr('node') self.set_icon(roster.model, iter_, self.renderer_num, caps) @@ -210,7 +210,7 @@ class ClientsIconsPlugin(GajimPlugin): if not contact: return caps = None - tag = iq_obj.iq_obj.getTags('c') + tag = iq_obj.stanza.getTags('c') if tag: caps = tag[0].getAttr('node') iter_ = iq_obj.gc_control.get_contact_iter(iq_obj.nick.decode('utf-8')) |