mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-02 04:38:33 +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
|
//#endif
|
||||||
|
|
||||||
if !isTemporary && self.messageHistoryMetadataTable.shouldReindexUnreadCounts() {
|
if !isTemporary && useCaches && self.messageHistoryMetadataTable.shouldReindexUnreadCounts() {
|
||||||
self.groupMessageStatsTable.removeAll()
|
self.groupMessageStatsTable.removeAll()
|
||||||
let startTime = CFAbsoluteTimeGetCurrent()
|
let startTime = CFAbsoluteTimeGetCurrent()
|
||||||
let (totalStates, summaries) = self.chatListIndexTable.debugReindexUnreadCounts(postbox: self, currentTransaction: transaction)
|
let (totalStates, summaries) = self.chatListIndexTable.debugReindexUnreadCounts(postbox: self, currentTransaction: transaction)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user