From df7016b7ecdc0f0958c69bde94e39320b290b860 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Thu, 28 Jan 2021 19:11:47 +0500 Subject: [PATCH] Temporary workaround for missing UI --- submodules/ChatListUI/Sources/ChatListController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/ChatListUI/Sources/ChatListController.swift b/submodules/ChatListUI/Sources/ChatListController.swift index a5e961741c..0efdfa61e6 100644 --- a/submodules/ChatListUI/Sources/ChatListController.swift +++ b/submodules/ChatListUI/Sources/ChatListController.swift @@ -1982,7 +1982,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController let signal: Signal = strongSelf.context.account.postbox.transaction { transaction -> Void in for peerId in peerIds { - removePeerChat(account: context.account, transaction: transaction, mediaBox: context.account.postbox.mediaBox, peerId: peerId, reportChatSpam: false, deleteGloballyIfPossible: false) + removePeerChat(account: context.account, transaction: transaction, mediaBox: context.account.postbox.mediaBox, peerId: peerId, reportChatSpam: false, deleteGloballyIfPossible: peerId.namespace == Namespaces.Peer.SecretChat) } } |> afterDisposed {