summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-03-23 17:07:59 +0000
committerMaxime “pep” Buquet <pep@bouah.net>2019-03-23 17:07:59 +0000
commit4128cc847b398b5f1460ee38408f6643a6ff2ade (patch)
tree140ba15980293611fd5decc9f665143240e1e31e /poezio/core/handlers.py
parent53ededcb19fd0384e96dbe7677ced2faf0de500a (diff)
downloadpoezio-4128cc847b398b5f1460ee38408f6643a6ff2ade.tar.gz
poezio-4128cc847b398b5f1460ee38408f6643a6ff2ade.tar.bz2
poezio-4128cc847b398b5f1460ee38408f6643a6ff2ade.tar.xz
poezio-4128cc847b398b5f1460ee38408f6643a6ff2ade.zip
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>
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r--poezio/core/handlers.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index a947917b..4d27d75b 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -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)