Treat messages containing subject as regular message if they contain body or thread.
Fixes #3452 in combination with slixmpp@2dda6b80. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
53ededcb19
commit
4128cc847b
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue