From f6ccc25c96ce55abd3314266407a3c99b729783d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Jul 2024 10:45:41 +0100 Subject: [PATCH] Extra user and status paths --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 3a1ef90b6..018e7e34b 100644 --- a/utils.py +++ b/utils.py @@ -1700,7 +1700,7 @@ def _get_statuses_list() -> []: return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/', '/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/', '/button/', '/x/', '/o/', '/posts/', '/items/', '/object/', '/r/', - '/content/') + '/content/', '/federation/') def contains_statuses(url: str) -> bool: @@ -1929,7 +1929,7 @@ def get_user_paths() -> []: """ return ('/users/', '/profile/', '/accounts/', '/channel/', '/u/', '/c/', '/m/', '/a/', '/video-channels/', - '/nieuws/author/', '/author/', + '/nieuws/author/', '/author/', '/federation/user/', '/activitypub/', '/actors/', '/snac/', '/@/', '/~/', '/fediverse/blog/', '/user/', '/@', '/api/collections/', '/feed/', '/actor/')