[client_icons] fix exception with pidgin
This commit is contained in:
@@ -533,10 +533,11 @@ class ClientsIconsPlugin(GajimPlugin):
|
|||||||
tag = iq_obj.stanza.getTags('c')
|
tag = iq_obj.stanza.getTags('c')
|
||||||
if tag:
|
if tag:
|
||||||
caps = tag[0].getAttr('node')
|
caps = tag[0].getAttr('node')
|
||||||
if 'pidgin.im/' in caps:
|
if caps:
|
||||||
caps = 'libpurple'
|
if 'pidgin.im/' in caps:
|
||||||
if 'sleekxmpp.com' in caps:
|
caps = 'libpurple'
|
||||||
caps = 'httр://sleekxmpp.com/ver/1.1.11'
|
if 'sleekxmpp.com' in caps:
|
||||||
|
caps = 'httр://sleekxmpp.com/ver/1.1.11'
|
||||||
iter_ = iq_obj.gc_control.get_contact_iter(iq_obj.nick)
|
iter_ = iq_obj.gc_control.get_contact_iter(iq_obj.nick)
|
||||||
model = iq_obj.gc_control.model
|
model = iq_obj.gc_control.model
|
||||||
if model[iter_][self.muc_renderer_num] is not None:
|
if model[iter_][self.muc_renderer_num] is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user