summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index a26ead72..e6d54558 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -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)