From 33c1ad11f576235a543db5009fdd59e391186e2b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 26 Jul 2024 10:47:41 +0100 Subject: [PATCH] Extra reserved words --- utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils.py b/utils.py index 018e7e34b..719ad9662 100644 --- a/utils.py +++ b/utils.py @@ -2948,8 +2948,8 @@ def _get_reserved_words() -> str: 'activity', 'undo', 'pinned', 'actor', 'Actor', 'instance.actor', 'reply', 'replies', 'question', 'like', - 'likes', 'users', 'statuses', 'tags', 'author', - 'accounts', 'headers', 'snac', + 'likes', 'user', 'users', 'statuses', + 'tags', 'author', 'accounts', 'headers', 'snac', 'channels', 'profile', 'u', 'c', 'updates', 'repeat', 'announce', 'shares', 'fonts', 'icons', 'avatars', @@ -2963,7 +2963,7 @@ def _get_reserved_words() -> str: 'inactive', 'activitypub', 'actors', 'note', 'notes', 'offers', 'wanted', 'honk', 'button', 'post', 'item', 'comment', - 'content') + 'content', 'federation') def get_nickname_validation_pattern() -> str: