no message

This commit is contained in:
overtake
2018-09-07 19:49:49 +01:00
parent ba7ec36e0c
commit da6c1781b6
32 changed files with 454 additions and 205 deletions

View File

@@ -641,7 +641,7 @@ public class ChatListController: TelegramController, UIViewControllerPreviewingD
previewingContext.sourceRect = sourceRect
}
switch item.content {
case let .peer(_, peer, _, _, _, _, _, _):
case let .peer(_, peer, _, _, _, _, _, _, _):
if peer.peerId.namespace != Namespaces.Peer.SecretChat {
let chatController = ChatController(account: self.account, chatLocation: .peer(peer.peerId), mode: .standard(previewing: true))
chatController.canReadHistory.set(false)