Another statuses path

main
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/',
'/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/',
'/button/')
'/button/', '/x/')
def contains_statuses(url: str) -> bool:
@ -1887,8 +1887,7 @@ def get_user_paths() -> []:
'/u/', '/c/', '/m/', '/a/', '/video-channels/',
'/nieuws/author/', '/author/',
'/activitypub/', '/actors/', '/snac/', '/@/', '/~/',
'/fediverse/blog/', '/user/', '/@', '/api/collections/',
'/x/')
'/fediverse/blog/', '/user/', '/@', '/api/collections/')
def get_group_paths() -> []: