New fullscreen chat WIP:
* Fullscreen chat: now uses a custom page (in other words: when opening the chat in a new tab, you will have the Peertube menu). WIP * some code refactoring (getBaseRoute moved to util/uri, ...)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import type { RegisterServerOptions, MVideoThumbnail, SettingEntries } from '@peertube/peertube-types'
|
||||
import type { ConverseJSTheme, InitConverseJSParams } from '../../../shared/lib/types'
|
||||
import type { ConverseJSTheme, InitConverseJSParams, InitConverseJSParamsError } from '../../../shared/lib/types'
|
||||
import type { RegisterServerOptionsV5 } from '../helpers'
|
||||
import type { LiveChatJSONLDAttributeV1 } from '../federation/types'
|
||||
import { getChannelInfosById, getChannelNameById } from '../database/channel'
|
||||
@ -11,12 +11,6 @@ import { getBaseRouterRoute, getBaseStaticRoute } from '../helpers'
|
||||
import { getProsodyDomain } from '../prosody/config/domain'
|
||||
import { getBoshUri, getWSUri } from '../uri/webchat'
|
||||
|
||||
interface InitConverseJSParamsError {
|
||||
isError: true
|
||||
code: 404 | 403 | 500
|
||||
message: string
|
||||
}
|
||||
|
||||
interface GetConverseJSParamsParams {
|
||||
readonly?: boolean | 'noscroll'
|
||||
transparent?: boolean
|
||||
|
Reference in New Issue
Block a user