Unverified Commit db69afc1 authored by mathieui's avatar mathieui

Fix #3316 (normal private messages in MUC do not open a private tab)

parent c8e04d92
......@@ -212,7 +212,7 @@ class HandlerCore:
jid_from = message['from']
for tab in self.core.get_tabs(tabs.MucTab):
if tab.name == jid_from.bare:
if message['type'] == 'chat':
if jid_from.resource:
self.on_groupchat_private_message(message)
return
self.on_normal_message(message)
......
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