Explorar el Código

Expand "bounced" tombstone match

Zed hace 6 años
padre
commit
43e87f5174
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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."
   of "Deactivated":
     result = "This tweet is from an account that no longer exists."
-  of "Bounced":
+  of "Bounced", "BounceDeleted":
     result = "This tweet violated the Twitter rules."
   else:
     result = js{"tombstoneInfo", "richText", "text"}.getStr