Fix user search parser (#483)
This commit is contained in:
parent
25191f7c40
commit
89591b06bf
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ proc parseUsers*(js: JsonNode; after=""): Result[Profile] =
|
||||||
|
|
||||||
for e in instructions[0]{"addEntries", "entries"}:
|
for e in instructions[0]{"addEntries", "entries"}:
|
||||||
let entry = e{"entryId"}.getStr
|
let entry = e{"entryId"}.getStr
|
||||||
if "sq-I-u" in entry:
|
if "user-" in entry:
|
||||||
let id = entry.getId
|
let id = entry.getId
|
||||||
if id in global.users:
|
if id in global.users:
|
||||||
result.content.add global.users[id]
|
result.content.add global.users[id]
|
||||||
|
|
Loading…
Reference in a new issue