mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Roll back some refreshDueToExternalTransaction implementations
This commit is contained in:
@@ -42,7 +42,7 @@ final class MutableItemCollectionIdsView: MutablePostboxView {
|
||||
}
|
||||
|
||||
func refreshDueToExternalTransaction(postbox: PostboxImpl) -> Bool {
|
||||
var idsByNamespace: [ItemCollectionId.Namespace: Set<ItemCollectionId>] = [:]
|
||||
/*var idsByNamespace: [ItemCollectionId.Namespace: Set<ItemCollectionId>] = [:]
|
||||
for namespace in namespaces {
|
||||
let ids = postbox.itemCollectionInfoTable.getIds(namespace: namespace)
|
||||
idsByNamespace[namespace] = Set(ids)
|
||||
@@ -52,7 +52,8 @@ final class MutableItemCollectionIdsView: MutablePostboxView {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}*/
|
||||
return false
|
||||
}
|
||||
|
||||
func immutableView() -> PostboxView {
|
||||
|
||||
Reference in New Issue
Block a user