fix possible TB (can be None)
This commit is contained in:
parent
fdf46e5430
commit
fbc1ae9b5c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue