Update API

This commit is contained in:
Ilya Laktyushin
2020-10-23 00:55:07 +04:00
parent e8a68ab883
commit e00eeec6ae
36 changed files with 134 additions and 244 deletions

View File

@@ -2327,14 +2327,6 @@ func replayFinalState(accountManager: AccountManager, postbox: Postbox, accountP
}
}
}
for media in message.media {
if let action = media as? TelegramMediaAction, case .geoProximityReached = action.action {
if id.peerId.namespace == Namespaces.Peer.CloudUser {
let _ = updateProximityNotificationStoredStateInteractively(postbox: postbox, peerId: id.peerId, state: nil).start()
}
}
break
}
}
}
}