Commit bd8486f8 authored by Philipp Hörist's avatar Philipp Hörist

Fix arguments in method call

parent 1a224694
......@@ -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)
......
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