branch: elpa/mastodon
commit fe5cb8c9856bbafe5edb3588213e85fa16bc298c
Author: marty hiatt <[email protected]>
Commit: marty hiatt <[email protected]>

    quoted item: check for status deleted, no display if so. #753.
---
 lisp/mastodon-tl.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 5452415e70..a200e653b4 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1981,7 +1981,8 @@ CW-EXPANDED means treat content warnings as unfolded."
                             'wrap-prefix bar)
               body)
             ;; insert quote maybe:
-            (when quote
+            (when (and quote
+                       (not (string= "deleted" (alist-get 'state quote))))
               (concat "\n\n"
                       (mastodon-tl--insert-quoted quote)
                       ))))

Reply via email to