mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-04 21:41:45 +00:00
[skip ci][skip ci]
This commit is contained in:
parent
9466cc72f6
commit
b09f464760
@ -111,7 +111,7 @@ public func requestChatContextResults(account: Account, botId: PeerId, peerId: P
|
||||
}
|
||||
|
||||
return account.postbox.transaction { transaction -> ChatContextResultCollection? in
|
||||
if result.cacheTimeout > 10 {
|
||||
if result.cacheTimeout > 10, offset.isEmpty && location == nil {
|
||||
if let resultData = try? JSONEncoder().encode(result) {
|
||||
let requestData = RequestData(version: requestVersion, botId: botId, peerId: peerId, query: query)
|
||||
if let keyData = try? JSONEncoder().encode(requestData) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user