소스 검색

Expand "bounced" tombstone match

Zed 6 년 전
부모
커밋
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."
   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