Another statuses path

merge-requests/30/head
Bob Mottram 2024-05-31 14:41:24 +01:00
parent eed4507fb6
commit 12471ed0c3
1 changed files with 2 additions and 3 deletions

View File

@ -1656,7 +1656,7 @@ def _get_statuses_list() -> []:
""" """
return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/', return ('/statuses/', '/objects/', '/honk/', '/p/', '/h/', '/api/posts/',
'/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/', '/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/',
'/button/') '/button/', '/x/')
def contains_statuses(url: str) -> bool: def contains_statuses(url: str) -> bool:
@ -1887,8 +1887,7 @@ def get_user_paths() -> []:
'/u/', '/c/', '/m/', '/a/', '/video-channels/', '/u/', '/c/', '/m/', '/a/', '/video-channels/',
'/nieuws/author/', '/author/', '/nieuws/author/', '/author/',
'/activitypub/', '/actors/', '/snac/', '/@/', '/~/', '/activitypub/', '/actors/', '/snac/', '/@/', '/~/',
'/fediverse/blog/', '/user/', '/@', '/api/collections/', '/fediverse/blog/', '/user/', '/@', '/api/collections/')
'/x/')
def get_group_paths() -> []: def get_group_paths() -> []: