mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Roll back some refreshDueToExternalTransaction implementations
This commit is contained in:
@@ -38,7 +38,7 @@ final class MutablePeerNotificationSettingsView: MutablePostboxView {
|
||||
}
|
||||
|
||||
func refreshDueToExternalTransaction(postbox: PostboxImpl) -> Bool {
|
||||
var notificationSettings: [PeerId: PeerNotificationSettings] = [:]
|
||||
/*var notificationSettings: [PeerId: PeerNotificationSettings] = [:]
|
||||
for peerId in self.peerIds {
|
||||
var notificationPeerId = peerId
|
||||
if let peer = postbox.peerTable.get(peerId), let associatedPeerId = peer.associatedPeerId {
|
||||
@@ -71,7 +71,8 @@ final class MutablePeerNotificationSettingsView: MutablePostboxView {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}*/
|
||||
return false
|
||||
}
|
||||
|
||||
func immutableView() -> PostboxView {
|
||||
|
||||
Reference in New Issue
Block a user