refactor(ConversationList): streamline conversation list handling and enhance unread count management
- Removed debug display for unread count in ConversationListRow to clean up UI. - Updated updateConversationCacheUnreadCount to optionally handle myLastReadSeq for better synchronization of read status. - Refactored message service to unify offset and cursor pagination methods, improving data fetching consistency. - Introduced a new method to normalize unread counts based on read cursor, ensuring accurate display of unread messages. - Consolidated conversation list source implementations to simplify remote data fetching logic.
This commit is contained in:
@@ -25,8 +25,7 @@ export {
|
||||
type ConversationListPage,
|
||||
type IConversationListPagedSource,
|
||||
type RemoteConversationListSourceKind,
|
||||
NetworkCursorConversationListPagedSource,
|
||||
NetworkOffsetConversationListPagedSource,
|
||||
NetworkRemoteConversationListPagedSource,
|
||||
SqliteConversationListPagedSource,
|
||||
createRemoteConversationListSource,
|
||||
} from './conversationListSources';
|
||||
|
||||
Reference in New Issue
Block a user