Another statuses path

main
Bob Mottram 2024-08-02 12:05:33 +01:00
parent 0b29fcb48c
commit 3c0e35d05f
1 changed files with 2 additions and 2 deletions

View File

@ -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/', '/federation/')
'/content/', '/federation/', '/elsewhere/')
def contains_statuses(url: str) -> bool:
@ -2963,7 +2963,7 @@ def _get_reserved_words() -> str:
'inactive', 'activitypub', 'actors',
'note', 'notes', 'offers', 'wanted', 'honk',
'button', 'post', 'item', 'comment',
'content', 'federation')
'content', 'federation', 'elsewhere')
def get_nickname_validation_pattern() -> str: