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
2 changed files with 2 additions and 2 deletions

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?