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
|
# 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
|
## 8.3.0
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
@ -43,7 +43,7 @@ async function _addAffiliationByChannelId (
|
|||||||
} else {
|
} else {
|
||||||
const userJid = username + '@' + prosodyDomain
|
const userJid = username + '@' + prosodyDomain
|
||||||
if (!(userJid in r)) { // don't override if already owner!
|
if (!(userJid in r)) { // don't override if already owner!
|
||||||
r[userJid] = 'admin'
|
r[userJid] = 'owner'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user