From 02e0870f33a2162d9fc6d5099997a3f81b170629 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 3 Jan 2023 17:32:59 +0000 Subject: [PATCH] Reject quote toots at inbox --- inbox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inbox.py b/inbox.py index 0b715abd6..499771d4b 100644 --- a/inbox.py +++ b/inbox.py @@ -664,6 +664,8 @@ def save_post_to_inbox_queue(base_dir: str, http_prefix: str, if has_object_dict(post_json_object): if is_quote_toot(post_json_object, content_str): print('REJECT: inbox quote toot ' + str(post_json_object)) + return None + if post_json_object['object'].get('inReplyTo'): if isinstance(post_json_object['object']['inReplyTo'], str): in_reply_to = \