diff options
-rw-r--r-- | poezio/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 9fe42a0d..e38fcbda 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -315,7 +315,7 @@ class HandlerCore: delayed, date = common.find_delayed_tag(message) def try_modify(): - if not message.xml.find('{urn:xmpp:message-correct:0}replace') is not None: + if message.xml.find('{urn:xmpp:message-correct:0}replace') is None: return False replaced_id = message['replace']['id'] if replaced_id and config.get_by_tabname('group_corrections', |