Commit 1a224694 authored by Philipp Hörist's avatar Philipp Hörist

Fix removing events when scrolled to bottom

parent c6dbf775
Pipeline #2056 failed with stages
in 2 minutes and 48 seconds
......@@ -1237,7 +1237,7 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
if not app.events.remove_events(self.account, jid,
types=types_list):
self.redraw_after_event_removed(jid)
elif self.session and self.session.remove_events(types_list):
elif not app.events.remove_events(types_list):
# There were events to remove
self.redraw_after_event_removed(jid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment