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

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

parent ef0b1157
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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