-
-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always mark legacy threaded event as read #3020
Conversation
src/models/thread.ts
Outdated
|
||
// We consider all threaded events read if they are part of a thread | ||
// that has no activity since the first ever threaded event recorded in that room | ||
// This prevents rooms to generated unwanted notifications for threads | ||
// created before MSC3771 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm finding this comment very difficult to read, maybe the following is a bit clearer:
// We consider all threaded events read if they are part of a thread | |
// that has no activity since the first ever threaded event recorded in that room | |
// This prevents rooms to generated unwanted notifications for threads | |
// created before MSC3771 | |
// We consider all events in a thread as read if the thread has not had | |
// activity since the first ever threaded receipt recorded in that room. | |
// This prevents rooms generating unwanted notifications for threads | |
// created before MSC3771. |
|
||
// Some threads were created before MSC3771 landed. Those threads | ||
// do not have read receipts, and this will be problematic in encrypted | ||
// rooms where clients rely on receipts to compute highlight notifications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually necessary for more than the "bold" case of thread activity?
Replaced by #3031 |
Needed for matrix-org/matrix-react-sdk#9763
Will help element-hq/element-web#23907
Checklist
Here's what your changelog entry will look like:
✨ Features