-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
room stays unread if no messages due to retention policy #10787
Comments
Still present in 1.48. If I have to vote, then it's the most annoying bug in Synapse and I wouldn't say it's tolerable - please reconsider this classification. From user's pespective it's confusing and I have to bump dozens of chats with gibberish just to get state to read. Maybe worth resurrecting element-hq/element-web#14976 and fix it client side, because something is different with Element for iOS, because there is no such issue... It seems to me that fixing this issue has low priority until matrix-org/matrix-spec-proposals#1763 lands, right? I would really love to see retention related issues as high priority, because it's unthinkable in the year 2021, that you have to store message and media (#6832) history forever. |
Discovered a way to set room as read.
|
I think it gets worse if you have multiple sessions open or sign in on another device. I have wildly inconsistent unread messages across multiple devices. basically only my "oldest session" looks anything close to correct. new logins wind up having perpetually-unread direct-messages as well as perpetually-unread channels for all but the most-active rooms. the feature's documentation and implementation sure look pretty close to complete. I also think it's almost a "killer-feature", both from an admin and user perspective. it would be a shame for it to languish in obscurity as "technically experimental". |
I would like to add something. |
Note that retention policies are an experimental features and there are some rough edges. |
Does anybody invented any manual workaround to fix "unread" status of the room if all messages is deleted from room? Something like remove Regarding to spec, |
Now in rooms with such problem Synapse on
And workaround from Synapse side can be like this: What do you think about this? |
Not elegant at all, but for DMs, I just leave the rooms. :/ |
We have the same problem on our sever. When trying to make a request to
Is there still no workaround? Unfortunately this is really starting to impact usability for our users, and disabling retention is also not an option due to privacy reasons. |
I fixed the issue on my server with this cristianyxen@d5aed2c |
thank you, your fix fixed it also for my homeserver. BR |
Well I could, but I think it would be better to fix the underlaying issue that seems to be in simple_select_one() not handling cases where no data is available. |
Initial report here: element-hq/element-web#14976
Description
If older messages gets removed due to retention policies and no new messages after retention time, room becomes unread forever until new message is inserted.
Tested clients: Element (web, Android and iOS)
Steps to reproduce
Version information
Version:
{"server_version":"1.41.1","python_version":"3.7.3"}
Install method: pip
The text was updated successfully, but these errors were encountered: