Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Room retention parameter stopped working #13101

@FlanOfHarmony

Description

@FlanOfHarmony

Description

My issue on the element-web repo got closed and I was told to post here. So here's a repost.
I'm a simple user registered on the public servers of matrix.org, using Element as client (same for all the persons I talk to).

In several rooms I'm in, I created room retention parameters with dev tools about ~a year ago. It seemed to work, after doing the tampering, messages older than the period I defined could not be loaded, only younger or cached ones remained. About 1-2 weeks ago, I was extremely disappointed to see that it was now possible to see all previouses messages, all the way back to at least ~6 months ago. I didn't go all the way back to the start because it's too much time consuming, but I guess that means no message has ever been deleted.

I know that room retention "isn't part of the Matrix specification yet", but I expected it to be implemented on matrix.org. By the way I saw that there has been some developments room retention parameters. But if clients did not care about room retention before this, and messages never got deleted, why did it seem to work the way it was supposed to? I don't understand.

When I do 'Open DevTools' -> 'Explore Room State' -> 'm.room.retention', my settings are still here (here it's configured for 1 week retention):

"content": {
    "enabled": true,
    "expire_on_clients": true,
    "max_allowed_lifetime": 31104000000,
    "max_lifetime": 604800000,
    "min_allowed_lifetime": 0,
    "min_lifetime": 0
  },
  ...

As can be seen, I even sent the event again with "expire_on_clients": true, just in case, cleared the cache: no effect.

I'm using Fedora 36, my Element version is 1.9.8 Olm version: 3.2.8. I'm just a user of your official servers at matrix.org so I do not have some of the relevant informations below.

Steps to reproduce

  • Create retention parameters for encrypted rooms, a year ago
  • It seems to work for a year
  • Every message reappears / is now accessible indicating they actually never got deleted

Homeserver

matrix.org

Synapse Version

I don't know how to check this, but rooms are all version 6

Installation Method

No response

Platform

Don't know

Relevant log output

Don't know

Anything else that would be useful to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions