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

chatView: Move handling of 'highlight' marks into insertMessage()

We pause autoscrolling while we have unread highlighted messages.
Currently we create the marks we use to implement this for messages
passed to _insertTpMessage(), which is fine as those are the only
ones that can have an unread state. However we'll soon insert
messages that were pending when we joined a room together with
log events (i.e. from _insertPendingLogs()), so moving the handling
of 'highlight' marks into _insertMessage() allows for sharing that
code.

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