Fix #48: Proper 404 and 403 pages when trying to open non-existant chatroom.:
* error page on the old endpoint, when anonymous users are disabled.
This commit is contained in:
@ -80,7 +80,7 @@ async function getConverseJSParams (
|
||||
staticBaseUrl,
|
||||
assetsPath: staticBaseUrl + 'conversejs/',
|
||||
isRemoteChat: !!(roomInfos.video?.remote),
|
||||
localAnonymousJID: localAnonymousJID,
|
||||
localAnonymousJID: !settings['chat-no-anonymous'] ? localAnonymousJID : null,
|
||||
remoteAnonymousJID: remoteConnectionInfos?.anonymous?.userJID ?? null,
|
||||
remoteAnonymousXMPPServer: !!(remoteConnectionInfos?.anonymous),
|
||||
remoteAuthenticatedXMPPServer: !!(remoteConnectionInfos?.authenticated),
|
||||
|
Reference in New Issue
Block a user