Commit 20e5c695 authored by mathieui's avatar mathieui

Do not unlock a tab when receiving a presence from the same resource

(makes OTR bug)
parent bf682651
......@@ -3443,7 +3443,7 @@ class Core(object):
jid = presence['from']
contact = roster[jid.bare]
tab = self.get_conversation_by_jid(jid, create=False)
if isinstance(tab, tabs.DynamicConversationTab):
if isinstance(tab, tabs.DynamicConversationTab) and tab.get_dest_jid() != jid.full:
if contact is None:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment