Allow anyone to react in read-only rooms

This commit is contained in:
Cadence Ember 2025-02-19 13:53:45 +13:00
parent 6e00066048
commit b6b0c1204e

View file

@ -146,6 +146,9 @@ async function channelToKState(channel, guild, di) {
/** @type {Ty.Event.M_Power_Levels} */ /** @type {Ty.Event.M_Power_Levels} */
"m.room.power_levels/": { "m.room.power_levels/": {
events_default: everyoneCanSend ? 0 : 50, events_default: everyoneCanSend ? 0 : 50,
events: {
"m.reaction": 0
},
notifications: { notifications: {
room: everyoneCanMentionEveryone ? 0 : 20 room: everyoneCanMentionEveryone ? 0 : 20
}, },