core: profile names with spaces (#3105)

* core: profile names with spaces

* test

* more test

* update name validation, export C API

* refactor

* validate name when creating profile in CLI

* validate display name in all APIs when it is changed
This commit is contained in:
Evgeny Poberezkin
2023-10-02 21:56:11 +01:00
committed by GitHub
parent da2a94578a
commit 38be27271f
10 changed files with 237 additions and 82 deletions
+1
View File
@@ -882,6 +882,7 @@ data ChatErrorType
| CEEmptyUserPassword {userId :: UserId}
| CEUserAlreadyHidden {userId :: UserId}
| CEUserNotHidden {userId :: UserId}
| CEInvalidDisplayName {displayName :: Text, validName :: Text}
| CEChatNotStarted
| CEChatNotStopped
| CEChatStoreChanged