don't consider buggy messages as groupchat messages if there is no nickname. Fixes #3700
This commit is contained in:
parent
1c0dd1fd3b
commit
750af45abe
|
@ -145,7 +145,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
|
||||||
|
|
||||||
pm = False
|
pm = False
|
||||||
if groupchat_control and groupchat_control.type_id == \
|
if groupchat_control and groupchat_control.type_id == \
|
||||||
message_control.TYPE_GC:
|
message_control.TYPE_GC and resource:
|
||||||
# It's a Private message
|
# It's a Private message
|
||||||
pm = True
|
pm = True
|
||||||
msg_type = 'pm'
|
msg_type = 'pm'
|
||||||
|
|
Loading…
Reference in New Issue