handle unknown message type as 'normal'. fixes #3977
This commit is contained in:
parent
ef0b115710
commit
8fed8ac0ed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue