0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-09-22 17:49:01 +02:00

Explicitly check that tombstone is a state event before notifying.

This commit is contained in:
Erik Johnston 2019-07-31 16:22:38 +01:00
parent 72167fb394
commit 2e697d3013

View file

@ -245,7 +245,13 @@ BASE_APPEND_OVERRIDE_RULES = [
"key": "type",
"pattern": "m.room.tombstone",
"_id": "_tombstone",
}
},
{
"kind": "event_match",
"key": "state_key",
"pattern": "",
"_id": "_tombstone_statekey",
},
],
"actions": ["notify", {"set_tweak": "highlight", "value": True}],
},