diff options
author | Denis Fomin <fominde@gmail.com> | 2010-11-24 22:43:48 +0300 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2010-11-24 22:43:48 +0300 |
commit | 8b22558e47c418a48396a9505e2205bc93a1786b (patch) | |
tree | 954dbfed5329b3b2cd247b3da0f44a1b9fed11f9 /juick/plugin.py | |
parent | ba2c7ffc330100d5e7822c775c086acddb39429b (diff) |
juick.do not show avatar if not connected
Diffstat (limited to 'juick/plugin.py')
-rw-r--r-- | juick/plugin.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/juick/plugin.py b/juick/plugin.py index 35521a1..545e99a 100644 --- a/juick/plugin.py +++ b/juick/plugin.py @@ -322,6 +322,8 @@ class Base(object): return # insert avatars conn = gajim.connections[self.chat_control.account] + if not conn.connected: + return id_ = conn.connection.getAnID() to = 'juick@juick.com' iq = common.xmpp.Iq('get', to=to) |