Add missing entry type to entryId parser

This commit is contained in:
Zed 2020-11-07 23:10:29 +01:00
parent 3107ab0ab8
commit 9f5042dbd3

View file

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