question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Message retention problem

See original GitHub issue

Hello. I asked this question on #synapse:matrix.org, but noone answered me. So I try my luck here.

We are runing Synapse server and have some problem with message retention.

When we are trying to set m.room.retention event with empty content it still deletes messages like it is using previous m.room.retention event.

So. To be clear.

  1. Send m.room.retention event with max_lifetime = 60000 Messeges do not show after 1 min
  2. Send m.room.retention event with max_lifetime = 86400000 As purge_jobs did not work, we see messages that wasnt seen in step 1.
  3. Repeat step 1 - messages deleted
  4. try to send m.room.retention event with empty content expectation: I can see messages what wasn deleted by purge_jobs yet reality: Can not see messages. They are still removed 1 min after.
  5. Repeat step 2 - see that messages still there.

So what am i doing wrong? maybe there are some options in configurations need to be set?

And then we are sending m.room.retention event with empty content it is not saved in room_retention table in db. But It is saved in event_json table.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
richvdhcommented, May 27, 2021

note that message retention is an experimental feature - if it works at all, you’re lucky, and it’s not something we can really support.

At a guess though: you’re sending the m.room.retention event as a regular event rather than a state event.

0reactions
richvdhcommented, Jan 4, 2022

closing this due to lack of info.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Retention issues? Three ways to deliver a message that ...
If your audience can't remember your message, it isn't that they have a retention issue; it's that you have a communication issue, says...
Read more >
Edit message retention settings for specific conversations - Slack
From your desktop, open the conversation whose retention settings you'd like to configure. · Click the channel or member name(s) in the conversation...
Read more >
Email Archiving: Retention Policy Best Practices - Jatheon
Unsurprisingly, the central email retention problem is the potential for important emails to be deleted. While your policy needs to contain ...
Read more >
22 Examples of Customer Retention Strategies That Work
Find out how to improve your customer retention strategy with our list. ... Offer a product or service that solves a problem, but...
Read more >
Everything to Know About Email Retention Laws - Intradyn
A: Modern email retention laws require all organizations to quickly execute a legal hold on archived email and provide data in the case...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found