Philipp Hörist pushed to branch master at gajim / gajim

Commits:
1a224694 by Philipp Hörist at 2018-08-18T13:46:51Z
Fix removing events when scrolled to bottom

- - - - -


1 changed file:

- gajim/chat_control_base.py


Changes:

=====================================
gajim/chat_control_base.py
=====================================
--- a/gajim/chat_control_base.py
+++ b/gajim/chat_control_base.py
@@ -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)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/1a2246947f885e8ed605aa95ed43f46543825979

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/1a2246947f885e8ed605aa95ed43f46543825979
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to