From c4cbbfa073d113e36f49b39eea4b736c24796a93 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 May 2024 19:19:00 +0100 Subject: [PATCH] Exclude objects --- inbox.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inbox.py b/inbox.py index 0ba598a72..41c0a4e98 100644 --- a/inbox.py +++ b/inbox.py @@ -3228,7 +3228,8 @@ def _receive_announce(recent_posts_cache: {}, print('DEBUG: self-boost rejected') return False if not has_users_path(message_json['object']): - print('WARN: unknown users path ' + message_json['object']) + if '/objects/' not in str(message_json['object']): + print('WARN: unknown users path ' + str(message_json['object'])) if debug: print('DEBUG: ' + '"users", "channel" or "profile" missing in ' +