Temporary workaround for missing UI

This commit is contained in:
Ali 2021-01-28 19:11:47 +05:00
parent 1eee780ad9
commit df7016b7ec

View File

@ -1982,7 +1982,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
let signal: Signal<Void, NoError> = 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 {