Commit c3a723a8 authored by Yann Leboulanger's avatar Yann Leboulanger

mark groupchat messages as read when we scroll at the end in groupchat window

parent 6f39fecd
......@@ -922,7 +922,11 @@ def on_conversation_vadjustment_value_changed(self, adjustment):
self.parent_win.get_active_control() == self and \
# we are at the end
if self.session and self.session.remove_events(types_list):
if self.type_id == message_control.TYPE_GC:
if not, jid,
elif self.session and self.session.remove_events(types_list):
# There were events to remove
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