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

This commit is contained in:
Yann Leboulanger 2008-11-23 17:17:44 +00:00
parent 1c0dd1fd3b
commit 750af45abe
1 changed files with 1 additions and 1 deletions

View File

@ -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'