Skip to content
Snippets Groups Projects
Unverified Commit 59cc2472 authored by David Baker's avatar David Baker Committed by GitHub
Browse files

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.
parent ca39e67f
No related branches found
No related tags found
No related merge requests found
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}],
},
{
"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}],
},
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment