Only moderators can change room avatar

This commit is contained in:
Cadence Ember 2024-09-01 15:14:26 +12:00
parent 62edffbae0
commit a218774c13
2 changed files with 0 additions and 6 deletions

View file

@ -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
}, },

View file

@ -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
}, },