Serialization update

This commit is contained in:
Isaac
2025-02-14 19:11:58 +04:00
parent f370102e44
commit 6c4070eb52
98 changed files with 1332 additions and 759 deletions

View File

@@ -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
}
}