mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-12 13:16:29 -04:00
Explicitly check that tombstone is a state event before notifying.
This commit is contained in:
parent
72167fb394
commit
2e697d3013
@ -245,7 +245,13 @@ BASE_APPEND_OVERRIDE_RULES = [
|
|||||||
"key": "type",
|
"key": "type",
|
||||||
"pattern": "m.room.tombstone",
|
"pattern": "m.room.tombstone",
|
||||||
"_id": "_tombstone",
|
"_id": "_tombstone",
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"kind": "event_match",
|
||||||
|
"key": "state_key",
|
||||||
|
"pattern": "",
|
||||||
|
"_id": "_tombstone_statekey",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
"actions": ["notify", {"set_tweak": "highlight", "value": True}],
|
"actions": ["notify", {"set_tweak": "highlight", "value": True}],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user