mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Add base pushrule to notify for jitsi conferences (#8286)
This could be customised to trigger a different kind of notification in the future, but for now it's a normal non-highlight one.
This commit is contained in:
parent
ca39e67f3d
commit
59cc2472b3
1
changelog.d/8286.feature
Normal file
1
changelog.d/8286.feature
Normal file
@ -0,0 +1 @@
|
|||||||
|
Add a push rule that highlights when a jitsi conference is created in a room.
|
@ -498,6 +498,30 @@ BASE_APPEND_UNDERRIDE_RULES = [
|
|||||||
],
|
],
|
||||||
"actions": ["notify", {"set_tweak": "highlight", "value": False}],
|
"actions": ["notify", {"set_tweak": "highlight", "value": False}],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"rule_id": "global/underride/.im.vector.jitsi",
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"kind": "event_match",
|
||||||
|
"key": "type",
|
||||||
|
"pattern": "im.vector.modular.widgets",
|
||||||
|
"_id": "_type_modular_widgets",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "event_match",
|
||||||
|
"key": "content.type",
|
||||||
|
"pattern": "jitsi",
|
||||||
|
"_id": "_content_type_jitsi",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kind": "event_match",
|
||||||
|
"key": "state_key",
|
||||||
|
"pattern": "*",
|
||||||
|
"_id": "_is_state_event",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"actions": ["notify", {"set_tweak": "highlight", "value": False}],
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user