Do not process messages with subject AND thread or body as topic changes (#3452)

This commit is contained in:
mathieui 2019-02-24 14:55:33 +01:00
parent 4aea2a2e10
commit 0df17b60c3
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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)