Another users path

main
Bob Mottram 2024-06-13 10:22:01 +01:00
parent 4983e6177e
commit 76d32be742
1 changed files with 2 additions and 2 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/', '/x/', '/o/', '/posts/', '/items/', '/ap/object/')
'/button/', '/x/', '/o/', '/posts/', '/items/', '/object/')
def contains_statuses(url: str) -> bool:
@ -1888,7 +1888,7 @@ def get_user_paths() -> []:
'/nieuws/author/', '/author/',
'/activitypub/', '/actors/', '/snac/', '/@/', '/~/',
'/fediverse/blog/', '/user/', '/@', '/api/collections/',
'/feed/')
'/feed/', '/actor/')
def get_group_paths() -> []: