mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- removed timestamp parameter. This wasn't totally obvious, previously we were tracking two pieces of state 1. `unreadIndicator.firstUnseenTimestamp`: the first unseen timestamp for a conversation that exists in the database 2. `unreadIndicator.timestamp`: the timestamp of the first interaction *after* the unread indicator that fits in the loading window We don't actually need to track `2` because it was only used in a comparison like: viewItem.interaction.timestampForSorting >= unreadIndicator.timestamp But by definition, unreadIndicator.firstUnseenTimestamp is always less than or equal to unreadIndicator.timestamp. Put into terms of the `sortId` corallary, the sortId of the first unseen interaction in the database is always less than or equal to the sortId of the first unseen interaction that fits in the loading window. In other words, there's no situation where viewItem.interaction.sortId >= unreadIndicator.firstUnseenSortId |
7 years ago | |
---|---|---|
.. | ||
Libraries/JSQMessagesViewController | 7 years ago | |
Models | 7 years ago | |
ViewControllers | 7 years ago | |
ViewModels | 7 years ago | |
Views | 7 years ago | |
attachments | 7 years ago | |
categories | 7 years ago | |
contacts | 7 years ago | |
environment | 7 years ago | |
profiles | 7 years ago | |
utils | 7 years ago | |
viewControllers | 8 years ago | |
Info.plist | 8 years ago | |
SignalMessaging-Prefix.pch | 7 years ago | |
SignalMessaging.h | 7 years ago |