prevent TB in send_chatstate if jid is ''
This commit is contained in:
parent
1dee67e3f6
commit
19edb7b2d9
|
@ -490,6 +490,11 @@ class TabbedChatWindow(chat.Chat):
|
|||
|
||||
if jid is None:
|
||||
jid = self.get_active_jid()
|
||||
|
||||
# this happens sometime when we close fastly all tabs
|
||||
if jid is '':
|
||||
return
|
||||
|
||||
contact = gajim.get_first_contact_instance_from_jid(self.account, jid)
|
||||
|
||||
if contact.chatstate is False: # jid cannot do jep85
|
||||
|
|
Loading…
Reference in New Issue