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:
parent
48fb636bf5
commit
3ec09ce267
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 8.3.1
|
||||
|
||||
* Fix: video owner must be room owner, not only admin. Otherwise they can't edit room parameters (including slow mode settings).
|
||||
|
||||
## 8.3.0
|
||||
|
||||
### New features
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user