handle unknown message type as 'normal'. fixes #3977

This commit is contained in:
Yann Leboulanger 2008-06-20 07:17:27 +00:00
parent ef0b115710
commit 8fed8ac0ed
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
msg_type = msg.getType()
subject = msg.getSubject()
if not msg_type:
if not msg_type or msg_type not in ('chat', 'groupchat', 'error'):
msg_type = 'normal'
msg_id = None