Skip to content
Commit 6453c59b authored by Florian Müllner's avatar Florian Müllner
Browse files

chatView: Delegate state tracking to the app

In order to only mark messages as read when we can assume that the
user has seen it, we track both whether the view's toplevel window
has focus and whether the view's room is currently active. While
the existing code to do this isn't particularly bad, it is actually
simpler to delegate the state tracking to the application, with the
added benefit that it will be available to other modules that want
to apply the same check.

https://bugzilla.gnome.org/show_bug.cgi?id=769656
parent 3b0eae3f
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