From efacbc0d0c8b62066d160acf977930e97dceda03 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 25 Nov 2019 12:37:11 +0000 Subject: [PATCH] Avoid nicknames which could confuse the system --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 65e4ff1e..e9f85020 100644 --- a/utils.py +++ b/utils.py @@ -372,7 +372,7 @@ def validNickname(domain: str,nickname: str) -> bool: return False if nickname==domain: return False - reservedNames=['inbox','dm','outbox','following','public','followers','profile','channel','capabilities','calendar','tlreplies','tlmedia','moderation'] + reservedNames=['inbox','dm','outbox','following','public','followers','profile','channel','capabilities','calendar','tlreplies','tlmedia','moderation','activity','undo','reply','replies','question','like','likes','users','statuses','updates','repeat','announce','shares'] if nickname in reservedNames: return False return True