no message

This commit is contained in:
Peter
2018-08-14 12:56:40 +03:00
parent da464a3286
commit 01ed96e839
89 changed files with 2020 additions and 1334 deletions

View File

@@ -206,7 +206,7 @@ func fetchChatList(postbox: Postbox, network: Network, location: FetchChatListLo
if case .general = location, case .inputPeerEmpty = peer, timestamp == 0 {
additionalPinnedChats = network.request(Api.functions.messages.getPinnedDialogs())
|> retryRequest
|> map { Optional($0) }
|> map(Optional.init)
} else {
additionalPinnedChats = .single(nil)
}