mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Serialization update
This commit is contained in:
@@ -263,7 +263,7 @@ private func updatedContextQueryResultStateForQuery(context: AccountContext, cha
|
||||
let stringRepresentations = item.getStringRepresentationsOfIndexKeys()
|
||||
for stringRepresentation in stringRepresentations {
|
||||
if stringRepresentation == query {
|
||||
result.append((stringRepresentation, item.file, stringRepresentation))
|
||||
result.append((stringRepresentation, item.file._parse(), stringRepresentation))
|
||||
break
|
||||
}
|
||||
}
|
||||
@@ -313,7 +313,7 @@ private func updatedContextQueryResultStateForQuery(context: AccountContext, cha
|
||||
let stringRepresentations = item.getStringRepresentationsOfIndexKeys()
|
||||
for stringRepresentation in stringRepresentations {
|
||||
if let keyword = allEmoticons[stringRepresentation] {
|
||||
result.append((stringRepresentation, item.file, keyword))
|
||||
result.append((stringRepresentation, item.file._parse(), keyword))
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user