Avoid nicknames which could confuse the system

main
Bob Mottram 2019-11-25 12:37:11 +00:00
parent 71fb0285b3
commit efacbc0d0c
1 changed files with 1 additions and 1 deletions

View File

@ -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