From 8b22558e47c418a48396a9505e2205bc93a1786b Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Wed, 24 Nov 2010 22:43:48 +0300 Subject: [PATCH] juick.do not show avatar if not connected --- juick/plugin.py | 2 ++ 1 file changed, 2 insertions(+) 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)