Fix arguments in method call

This commit is contained in:
Philipp Hörist 2018-08-18 15:52:12 +02:00
parent 1a2246947f
commit bd8486f822
1 changed files with 2 additions and 1 deletions

View File

@ -1237,7 +1237,8 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
if not app.events.remove_events(self.account, jid,
types=types_list):
self.redraw_after_event_removed(jid)
elif not app.events.remove_events(types_list):
elif not app.events.remove_events(
self.account, jid, types=types_list):
# There were events to remove
self.redraw_after_event_removed(jid)