Treat messages containing subject as regular message if they contain body or thread.

Fixes #3452 in combination with slixmpp@2dda6b80.
Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 53ededcb
......@@ -653,8 +653,6 @@ class HandlerCore:
"""
Triggered whenever a message is received from a multi-user chat room.
"""
if message['subject']:
return
room_from = message['from'].bare
if message['type'] == 'error': # Check if it's an error
......@@ -1312,8 +1310,6 @@ class HandlerCore:
"""
Triggered when the topic is changed.
"""
if message['body'] or message['thread']:
return
nick_from = message['mucnick']
room_from = message.get_mucroom()
tab = self.core.tabs.by_name_and_class(room_from, tabs.MucTab)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment