Skip to content

Mark private messages read properly

akwizgran requested to merge 196-mark-messages-read into master

Depends on !386 (merged).

This branch uses the same approach as forums to mark messages read, i.e. each message is marked read when it becomes visible, rather than marking all messages read in a batch when the activity finishes. This fixes two problems: messages not being marked read when isFinishing() is false, for example when leaving the activity via the home button, and a race condition between updating and loading the group count when leaving the activity, resulting in a stale unread message count in the contact list.

Closes #196 (closed).

Merge request reports