From 39553b69a341e7de17ba1d2ef42d2e51b5221d5d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 19 Jul 2023 10:59:34 +0100 Subject: [PATCH] Additional quote toot style --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index bf9392f9d..9587e2a5f 100644 --- a/utils.py +++ b/utils.py @@ -4269,6 +4269,8 @@ def is_quote_toot(post_json_object: str, content: str) -> bool: # Pleroma/Misskey implementations if post_json_object['object'].get('quoteUri') or \ post_json_object['object'].get('quoteUrl') or \ + post_json_object['object'].get('quoteReply') or \ + post_json_object['object'].get('toot:quoteReply') or \ post_json_object['object'].get('_misskey_quote'): return True # More correct ActivityPub implementation - adding a Link tag