Explorar el Código

Add missing entry type to entryId parser

Zed hace 5 años
padre
commit
9f5042dbd3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/parserutils.nim

+ 1 - 1
src/parserutils.nim

@@ -59,7 +59,7 @@ proc getEntryId*(js: JsonNode): string {.inline.} =
   let entry = js{"entryId"}.getStr
   if entry.len == 0: return
 
-  if "tweet" in entry:
+  if "tweet" in entry or "sq-I-t" in entry:
     return entry.getId
   elif "tombstone" in entry:
     return js{"content", "item", "content", "tombstone", "tweet", "id"}.getStr