Skip to content
Snippets Groups Projects
Commit 750af45a authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't consider buggy messages as groupchat messages if there is no nickname. Fixes #3700

parent 1c0dd1fd
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
pm = False
if groupchat_control and groupchat_control.type_id == \
message_control.TYPE_GC:
message_control.TYPE_GC and resource:
# It's a Private message
pm = True
msg_type = 'pm'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment