Просмотр исходного кода

Expand "bounced" tombstone match

Zed 6 лет назад
Родитель
Сommit
43e87f5174
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/parserutils.nim

+ 1 - 1
src/parserutils.nim

@@ -104,7 +104,7 @@ proc getTombstone*(js: JsonNode): string =
     result = "This tweet is unavailable."
     result = "This tweet is unavailable."
   of "Deactivated":
   of "Deactivated":
     result = "This tweet is from an account that no longer exists."
     result = "This tweet is from an account that no longer exists."
-  of "Bounced":
+  of "Bounced", "BounceDeleted":
     result = "This tweet violated the Twitter rules."
     result = "This tweet violated the Twitter rules."
   else:
   else:
     result = js{"tombstoneInfo", "richText", "text"}.getStr
     result = js{"tombstoneInfo", "richText", "text"}.getStr