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:
John Livingston
2024-04-04 16:48:19 +02:00
parent 0719d25f35
commit 33bc346e83
3 changed files with 19 additions and 4 deletions

View File

@ -2,7 +2,7 @@ type ConverseJSTheme = 'peertube' | 'default' | 'concord'
interface InitConverseJSParams {
isRemoteChat: boolean
localAnonymousJID: string
localAnonymousJID: string | null
remoteAnonymousJID: string | null
remoteAnonymousXMPPServer: boolean
remoteAuthenticatedXMPPServer: boolean