From a905e703b81f2d8a3a9049c758dd0baa2a18b197 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 8 Jan 2023 13:14:36 +0000 Subject: [PATCH] Extra QT field --- utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 7b29e6970..875a7bc8d 100644 --- a/utils.py +++ b/utils.py @@ -4166,7 +4166,8 @@ def is_quote_toot(post_json_object: str, content: str) -> bool: """ # Pleroma implementation if post_json_object['object'].get('quoteUri') or \ - post_json_object['object'].get('quoteUrl'): + post_json_object['object'].get('quoteUrl') or \ + post_json_object['object'].get('_misskey_quote'): return True # More correct ActivityPub implementation if post_json_object['object'].get('tag'):