Comments update

This commit is contained in:
Ali
2020-08-28 17:32:21 +01:00
parent 8c4adbd58b
commit 0e03c5e446
108 changed files with 2678 additions and 1379 deletions

View File

@@ -298,6 +298,15 @@ public final class AccountContextImpl: AccountContext {
return nil
}
}
public func chatLocationInput(for location: ChatLocation) -> ChatLocationInput {
switch location {
case let .peer(peerId):
return .peer(peerId)
case let .replyThread(messageId):
return .external(messageId.peerId, self.peerChannelMemberCategoriesContextsManager.replyThread(account: self.account, messageId: messageId))
}
}
}
func getAppConfiguration(transaction: Transaction) -> AppConfiguration {