mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-01 12:17:53 +00:00
Don't re-index unread counters in extensions
This commit is contained in:
parent
333011a6a6
commit
e1540d5c60
@ -1899,7 +1899,7 @@ final class PostboxImpl {
|
||||
}
|
||||
//#endif
|
||||
|
||||
if !isTemporary && self.messageHistoryMetadataTable.shouldReindexUnreadCounts() {
|
||||
if !isTemporary && useCaches && self.messageHistoryMetadataTable.shouldReindexUnreadCounts() {
|
||||
self.groupMessageStatsTable.removeAll()
|
||||
let startTime = CFAbsoluteTimeGetCurrent()
|
||||
let (totalStates, summaries) = self.chatListIndexTable.debugReindexUnreadCounts(postbox: self, currentTransaction: transaction)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user