From fbc1ae9b5c50a4f6aa421e805c0dadef45b03043 Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Wed, 16 Apr 2008 21:39:58 +0000 Subject: [PATCH] fix possible TB (can be None) --- src/groupchat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 080510b08..0fefef620 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1093,7 +1093,7 @@ class GroupchatControl(ChatControlBase): # We do that here because we may request it to the real JID if we # knows it. connections.py doesn't know it. con = gajim.connections[self.account] - if gc_c.jid: + if gc_c and gc_c.jid: real_jid = gc_c.jid if gc_c.resource: real_jid += '/' + gc_c.resource