juick.do not show avatar if not connected
This commit is contained in:
@@ -322,6 +322,8 @@ class Base(object):
|
|||||||
return
|
return
|
||||||
# insert avatars
|
# insert avatars
|
||||||
conn = gajim.connections[self.chat_control.account]
|
conn = gajim.connections[self.chat_control.account]
|
||||||
|
if not conn.connected:
|
||||||
|
return
|
||||||
id_ = conn.connection.getAnID()
|
id_ = conn.connection.getAnID()
|
||||||
to = 'juick@juick.com'
|
to = 'juick@juick.com'
|
||||||
iq = common.xmpp.Iq('get', to=to)
|
iq = common.xmpp.Iq('get', to=to)
|
||||||
|
|||||||
Reference in New Issue
Block a user