mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 09:34:05 -04:00
Use notification levels in power_levels
Rather than making the condition directly require a specific power level. This way the level require to notify a room can be configured per room.
This commit is contained in:
parent
c9f034b4ac
commit
0f1eb3e914
3 changed files with 22 additions and 12 deletions
|
@ -249,8 +249,8 @@ BASE_APPEND_OVERRIDE_RULES = [
|
|||
'_id': '_roomnotif_content',
|
||||
},
|
||||
{
|
||||
'kind': 'sender_power_level',
|
||||
'is': '>=50',
|
||||
'kind': 'sender_notification_permission',
|
||||
'key': 'room',
|
||||
'_id': '_roomnotif_pl',
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue