mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-30 00:08:43 -04:00
Implement per-room message retention policies
This commit is contained in:
parent
f496d25877
commit
09957ce0e4
13 changed files with 1074 additions and 6 deletions
|
@ -929,6 +929,9 @@ class EventsStore(
|
|||
elif event.type == EventTypes.Redaction:
|
||||
# Insert into the redactions table.
|
||||
self._store_redaction(txn, event)
|
||||
elif event.type == EventTypes.Retention:
|
||||
# Update the room_retention table.
|
||||
self._store_retention_policy_for_room_txn(txn, event)
|
||||
|
||||
self._handle_event_relations(txn, event)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue