mirror of https://gitlab.com/bashrc2/epicyon
Avoid nicknames which could confuse the system
parent
71fb0285b3
commit
efacbc0d0c
2
utils.py
2
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
|
||||
|
|
Loading…
Reference in New Issue