diff options
author | mathieui <mathieui@mathieui.net> | 2019-02-24 14:55:33 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2019-02-24 14:55:33 +0100 |
commit | 0df17b60c3d19459d923b3a227e965724fe5302e (patch) | |
tree | 0d72f9a8289958b89e07f2d264cda6ef46928ebd | |
parent | 4aea2a2e10b702ab61d19532e64205652836f26c (diff) | |
download | poezio-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)
-rw-r--r-- | poezio/core/handlers.py | 2 |
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) |