Authenticated users: if current user nickname is already used in the room, automatically add a suffix.

This commit is contained in:
John Livingston 2024-01-09 16:17:47 +01:00
parent d0a250a91d
commit a56467c6cd
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,7 @@
* Anonymous chat user: remember the chosen nickname in sessionStorage, to avoid entering it again too often.
* Fix: if an anonymous chat user enter spaces in the nickname choice, it will allows them to keep the random nickname.
* Authenticated users: if current user nickname is already used in the room, automatically add a suffix.
* Translation updates: German, French.
* New Swedish translations.

View File

@ -156,9 +156,8 @@ function _fillAuthenticatedParams (initConverseParams: InitConverseJSParams, aut
params.password = auth.password
if (auth.nickname) {
params.nickname = auth.nickname
} else {
params.muc_nickname_from_jid = true
}
params.muc_nickname_from_jid = true // if nickname already used, ConverseJS will add a suffix.
// We dont need the keepalive. And I suppose it is related to some bugs when opening a previous chat window.
params.keepalive = false
// FIXME: use params.oauth_providers?