summaryrefslogtreecommitdiff
path: root/poezio/core/handlers.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-02-24 14:55:33 +0100
committermathieui <mathieui@mathieui.net>2019-02-24 14:55:33 +0100
commit0df17b60c3d19459d923b3a227e965724fe5302e (patch)
tree0d72f9a8289958b89e07f2d264cda6ef46928ebd /poezio/core/handlers.py
parent4aea2a2e10b702ab61d19532e64205652836f26c (diff)
downloadpoezio-0df17b60c3d19459d923b3a227e965724fe5302e.tar.gz
poezio-0df17b60c3d19459d923b3a227e965724fe5302e.tar.bz2
poezio-0df17b60c3d19459d923b3a227e965724fe5302e.tar.xz
poezio-0df17b60c3d19459d923b3a227e965724fe5302e.zip
Do not process messages with subject AND thread or body as topic changes (#3452)
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r--poezio/core/handlers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 94d05ee2..9cdfb59a 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1312,6 +1312,8 @@ 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)