For our initial solution to
we'll show a confirmation dialog with text like "n messages will be marked as read." Sometimes, the user will have so many unreads (e.g. 50,000+) that the server decides not to send data for all of them, and so we don't know if n is actually accurate. When this uncertainty exists, instead of saying e.g.
50000 messages will be marked as read.
we should instead say
50000+ messages will be marked as read.
Implementation
We can recognize when we're in this situation by checking Unreads.oldUnreadsMissing.
Related issues