Merge commit '2266e38d691b345f49ae3c2cf9cc669c808b31d6'

This commit is contained in:
Ali
2021-01-20 00:27:52 +04:00
42 changed files with 5746 additions and 4756 deletions

View File

@@ -1212,8 +1212,8 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
strongSelf.forEachController({ controller in
if let controller = controller as? UndoOverlayController {
switch controller.content {
case let .archivedChat(archivedChat):
if peerIds.contains(PeerId(archivedChat.peerId)) {
case let .archivedChat(peerId, _, _, _):
if peerIds.contains(PeerId(peerId)) {
controller.dismiss()
}
default: