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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user