Fix: video owner must be room owner, not only admin. Otherwise they can't edit room parameters (including slow mode settings).

This commit is contained in:
John Livingston
2024-02-22 18:08:06 +01:00
parent 48fb636bf5
commit 3ec09ce267
2 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,7 @@ async function _addAffiliationByChannelId (
} else {
const userJid = username + '@' + prosodyDomain
if (!(userJid in r)) { // don't override if already owner!
r[userJid] = 'admin'
r[userJid] = 'owner'
}
}
} catch (error) {