Fix removing events when scrolled to bottom

This commit is contained in:
Philipp Hörist 2018-08-18 15:46:14 +02:00
parent c6dbf775fa
commit 1a2246947f
1 changed files with 1 additions and 1 deletions

View File

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