mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Comments update
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user