소스 검색

Fix user search parser (#483)

alqeeu 4 년 전
부모
커밋
89591b06bf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/parser.nim

+ 1 - 1
src/parser.nim

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