Renaming.

This commit is contained in:
John Livingston
2021-08-05 18:48:06 +02:00
parent 0e14ec6649
commit aaea040a4f
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ async function initWebchatRouter (options: RegisterServerOptions): Promise<Route
if (chatType === 'builtin-prosody') {
const prosodyDomain = await getProsodyDomain(options)
jid = 'anon.' + prosodyDomain
if (req.query.fromadmin === '1') {
if (req.query.forcetype === '1') {
// We come from the room list in the settings page.
// Here we don't read the prosody-room-type settings,
// but use the roomKey format.