Skip to content

Commit

Permalink
Fix user search parser (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
LainLayer authored Dec 19, 2021
1 parent 25191f7 commit 89591b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ proc parseUsers*(js: JsonNode; after=""): Result[Profile] =

for e in instructions[0]{"addEntries", "entries"}:
let entry = e{"entryId"}.getStr
if "sq-I-u" in entry:
if "user-" in entry:
let id = entry.getId
if id in global.users:
result.content.add global.users[id]
Expand Down

0 comments on commit 89591b0

Please sign in to comment.