Authenticated users: if current user nickname is already used in the room, automatically add a suffix.
This commit is contained in:
parent
d0a250a91d
commit
a56467c6cd
@ -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.
|
||||
|
||||
|
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user