mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Improve media index
This commit is contained in:
@@ -1169,6 +1169,12 @@ private final class NotificationServiceHandler {
|
||||
parameters: MediaResourceFetchParameters(
|
||||
tag: nil,
|
||||
info: resourceFetchInfo(resource: resource),
|
||||
location: messageId.flatMap { messageId in
|
||||
return MediaResourceStorageLocation(
|
||||
peerId: peerId,
|
||||
messageId: messageId
|
||||
)
|
||||
},
|
||||
isRandomAccessAllowed: true
|
||||
),
|
||||
encryptionKey: nil,
|
||||
@@ -1220,6 +1226,7 @@ private final class NotificationServiceHandler {
|
||||
parameters: MediaResourceFetchParameters(
|
||||
tag: nil,
|
||||
info: resourceFetchInfo(resource: resource),
|
||||
location: nil,
|
||||
isRandomAccessAllowed: true
|
||||
),
|
||||
encryptionKey: nil,
|
||||
|
||||
Reference in New Issue
Block a user