More reserved words

main
bashrc 2026-07-20 14:49:28 +01:00
parent a685422f0b
commit c7505840d9
1 changed files with 2 additions and 2 deletions

View File

@ -2522,7 +2522,7 @@ def _get_reserved_words() -> str:
'note', 'notes', 'offers', 'wanted', 'honk',
'button', 'post', 'item', 'comment',
'content', 'federation', 'elsewhere',
'article', 'activity')
'article', 'activity', 'featured', 'collections')
def get_nickname_validation_pattern() -> str:
@ -2545,7 +2545,7 @@ def _is_reserved_name(nickname: str) -> bool:
'users', 'accounts', 'profile', 'statuses', 'packs', 'backend',
'search', 'channel', 'config', 'settings', 'credentials', 'apis',
'http', 'https', 'ipfs', 'ipns', 'laravel', 'root', 'webmail',
'mail', 'statistics'
'mail', 'statistics', 'featured', 'collections'
)
if nickname in reserved_names:
return True