From c7505840d9dc4f5633868fd872f4a583375252ca Mon Sep 17 00:00:00 2001 From: bashrc Date: Mon, 20 Jul 2026 14:49:28 +0100 Subject: [PATCH] More reserved words --- src/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils.py b/src/utils.py index d2dfa659a..74f86af52 100644 --- a/src/utils.py +++ b/src/utils.py @@ -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