This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add support for stable prefixes for MSC2285: private read receipts #13273
Merged
clokep
merged 39 commits into
matrix-org:develop
from
SimonBrandner:SimonBrandner/feat/disable-rr
Aug 5, 2022
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
83b7af1
Switch to stable prefixes for MSC2285
SimonBrandner 01fbb6d
Add changelog
SimonBrandner cafe4be
Avoid leaking unstable private read receipts
SimonBrandner 967f8ed
Delint
SimonBrandner a9f2329
Fix code
SimonBrandner 08d874d
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner ba20652
Use a const
SimonBrandner d18a485
Convert list to tuple.
clokep 8323358
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner 404459f
Add background update to remove unstable private read receipts
SimonBrandner 57251c8
Remove handling for unstable private read receipts
SimonBrandner e12706c
Don't bump `SCHEMA_VERSION`
SimonBrandner c8cf10e
Remove `READ_PRIVATE_UNSTABLE` from `ReceiptTypes`
SimonBrandner 84299f6
Assume return value
SimonBrandner 208e97a
Remove non-relevant test
SimonBrandner a7c3a1c
Don't bother with a migration script
SimonBrandner 252146d
Remove non-schema thing
SimonBrandner 3cbd80b
Only use single `'`
SimonBrandner 8854e35
Use `!=`
SimonBrandner baa9e84
Merge pull request #1 from SimonBrandner/SimonBrandner/feat/db-rr
SimonBrandner 4455232
Changelog
SimonBrandner de9005f
Merge remote-tracking branch 'upstream/develop' into SimonBrandner/fe…
SimonBrandner c0b3c90
Support both stable and unstable private RRs
SimonBrandner 3612ceb
Test both stable and unstable private RRs
SimonBrandner a37a17d
Advertise unstable prefix
SimonBrandner 14b36a3
Check for all receipt types
SimonBrandner 746351c
Delint
SimonBrandner 50bffe4
Further dlint
SimonBrandner 1b66814
Remove `(`
SimonBrandner bcdbb5d
This won't work...
SimonBrandner 0f498e0
Reformat...
SimonBrandner 660c776
Get tests passing
SimonBrandner b1ddf1a
Merge remote-tracking branch 'origin/develop' into SimonBrandner/feat…
clokep 3094b39
Fix type hints.
clokep 011d6d2
Put experimental flag back in place
SimonBrandner ee6512f
Only advertise `org.matrix.msc2285` if enabled
SimonBrandner 2cd29bd
Fix tests
SimonBrandner 89d5bd4
Merge remote-tracking branch 'origin/SimonBrandner/feat/disable-rr' i…
SimonBrandner f0c531d
Fix tests
SimonBrandner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge remote-tracking branch 'origin/develop' into SimonBrandner/feat…
…/disable-rr
- Loading branch information
commit b1ddf1aae361bc0becb1c6e8c10923a7405c8d0d
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think the ramifications of this change (and the ones below it) are that we might have HTTP pushed / emailed for something that was actually read using a private read receipt? Does that sound accurate?
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.
So I am not sure I understand the code at hand though my thinking was that since both public and private RRs influence notifs in the same way, they should be added here. Was my thinking incorrect?
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.
That's my understanding as well. I'm trying to figure out the user-impact of fixing this bug.
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.
OK I double checked this; I think (before fixing this to look at all read receipt types) you could end up in this situation:
Good that we found it, but doesn't seem to be the end of the world!
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.
Thank you very much for doing that! I've totally missed it