Message retention problem
See original GitHub issueHello. 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.
- Send
m.room.retention
event with max_lifetime = 60000 Messeges do not show after 1 min - Send
m.room.retention
event with max_lifetime = 86400000 Aspurge_jobs
did not work, we see messages that wasnt seen in step 1. - Repeat step 1 - messages deleted
- try to send
m.room.retention
event with empty contentexpectation:
I can see messages what wasn deleted by purge_jobs yetreality:
Can not see messages. They are still removed 1 min after. - 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:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.closing this due to lack of info.