Only moderators can change room avatar
This commit is contained in:
parent
62edffbae0
commit
a218774c13
2 changed files with 0 additions and 6 deletions
|
@ -163,9 +163,6 @@ async function channelToKState(channel, guild, di) {
|
||||||
/** @type {{join_rule: string, [x: string]: any}} */
|
/** @type {{join_rule: string, [x: string]: any}} */
|
||||||
"m.room.join_rules/": join_rules,
|
"m.room.join_rules/": join_rules,
|
||||||
"m.room.power_levels/": {
|
"m.room.power_levels/": {
|
||||||
events: {
|
|
||||||
"m.room.avatar": 0
|
|
||||||
},
|
|
||||||
notifications: {
|
notifications: {
|
||||||
room: everyoneCanMentionEveryone ? 0 : 20
|
room: everyoneCanMentionEveryone ? 0 : 20
|
||||||
},
|
},
|
||||||
|
|
|
@ -41,9 +41,6 @@ module.exports = {
|
||||||
url: {$url: "/icons/112760669178241024/a_f83622e09ead74f0c5c527fe241f8f8c.png?size=1024"}
|
url: {$url: "/icons/112760669178241024/a_f83622e09ead74f0c5c527fe241f8f8c.png?size=1024"}
|
||||||
},
|
},
|
||||||
"m.room.power_levels/": {
|
"m.room.power_levels/": {
|
||||||
events: {
|
|
||||||
"m.room.avatar": 0
|
|
||||||
},
|
|
||||||
users: {
|
users: {
|
||||||
"@test_auto_invite:example.org": 100
|
"@test_auto_invite:example.org": 100
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue