You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
I set the m.room.retention state event on a number of rooms.
The retention policy appears to work on traditionally created rooms (i.e. via Element "Add new room"), but rooms created by a direct message accept the state event but old messages do not get purged.
From what I can tell, direct-message rooms have a room ID and properties just like the other rooms, and it accepted the state event, so I expected this to work.
Steps to reproduce
Configure synapse with retention policy (retention: enabled: true, defaults, and purge jobs). My settings are included at the bottom of thispost.
Send message from user A to user B to start a direct message.
In Element's Room Settings / Devtools, send a state event type m.room.retention to set max_lifetime on the room.
I've done this on other standard rooms, and the results stick and appear the same when viewing the room state after sending. I checked that both the working rooms and the non-working rooms show up as room version 6.
Version information
Homeserver:
locally hosted docker container
Version:
current master server_version: "1.21.2" python_version: "3.7.9"
Install method: matrixdotorg/synapse image via docker-compose build