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