mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Refactoring
This commit is contained in:
@@ -33,7 +33,7 @@ public extension TelegramEngine {
|
||||
}
|
||||
|
||||
private func _subscribe(items: [AnyPostboxViewDataItem]) -> Signal<[Any], NoError> {
|
||||
return self.account.postbox.combinedView(keys: items.map(\.key))
|
||||
return self.account.postbox.combinedView(keys: Array(Set(items.map(\.key))))
|
||||
|> map { views -> [Any] in
|
||||
var results: [Any] = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user