From 7ba5ecb675ad194112d97cadb9efbd868f609aa6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 17 Sep 2024 15:01:45 +0100 Subject: [PATCH] Extra statuses path --- inbox_receive.py | 2 +- utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inbox_receive.py b/inbox_receive.py index 5330bc815..c05db35d6 100644 --- a/inbox_receive.py +++ b/inbox_receive.py @@ -1677,7 +1677,7 @@ def receive_announce(recent_posts_cache: {}, if not has_users_path(message_json['object']): # log any unrecognised statuses if not contains_statuses(str(message_json['object'])): - print('WARN: unknown users path ' + str(message_json['object'])) + print('WARN: unknown statuses path ' + str(message_json['object'])) if debug: print('DEBUG: ' + '"users", "channel" or "profile" missing in ' + diff --git a/utils.py b/utils.py index e30038e85..40ed09a70 100644 --- a/utils.py +++ b/utils.py @@ -1508,7 +1508,7 @@ def _get_statuses_list() -> []: '/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/', '/button/', '/x/', '/o/', '/posts/', '/items/', '/object/', '/r/', '/content/', '/federation/', '/elsewhere/', '/article/', - '/activity/') + '/activity/', '/blog/') def contains_statuses(url: str) -> bool: