summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-03-23 01:06:15 +0100
committermathieui <mathieui@mathieui.net>2014-03-23 01:06:15 +0100
commit6b1e3dd4ac03b14a4af23cf3e0060f4c3d1de328 (patch)
treeb811202149a70aa689bb6b699ffdf354e90f8c8a
parent5c9dd440377ebcd682bc6a2cae1e9466813a476d (diff)
downloadpoezio-6b1e3dd4ac03b14a4af23cf3e0060f4c3d1de328.tar.gz
poezio-6b1e3dd4ac03b14a4af23cf3e0060f4c3d1de328.tar.bz2
poezio-6b1e3dd4ac03b14a4af23cf3e0060f4c3d1de328.tar.xz
poezio-6b1e3dd4ac03b14a4af23cf3e0060f4c3d1de328.zip
Allow opening a static conversation even when a (dynamic) conversation with the contact is already open
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index b762fe50..ddf2c3a1 100644
--- a/src/core.py
+++ b/src/core.py
@@ -555,7 +555,7 @@ class Core(object):
else:
self.focus_tab_named(roster_row.bare_jid)
if isinstance(roster_row, Resource):
- if not self.get_conversation_by_jid(roster_row.jid, False):
+ if not self.get_conversation_by_jid(roster_row.jid, False, fallback_barejid=False):
self.open_conversation_window(roster_row.jid)
else:
self.focus_tab_named(roster_row.jid)