main
Bob Mottram 2020-11-24 12:24:30 +00:00
parent 3c9ce0a6da
commit 36dad532df
1 changed files with 1 additions and 0 deletions

View File

@ -969,6 +969,7 @@ def validNickname(domain: str, nickname: str) -> bool:
for c in forbiddenChars:
if c in nickname:
return False
# this should only apply for the shared inbox
if nickname == domain:
return False
reservedNames = ('inbox', 'dm', 'outbox', 'following',