-
Notifications
You must be signed in to change notification settings - Fork 392
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
MSC2676: Message editing #2676
Merged
Merged
MSC2676: Message editing #2676
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8b95ffc
initial version of message editing proposal
uhoreg 7f42c8b
fix MSC numbers
uhoreg 5473009
Fix JSON in example
uhoreg e44f566
clarifications
uhoreg 634dc2e
remove obsolete "XXX:", and fix a typo
uhoreg f9768e7
Initial cleanup and restructuring
richvdh 1de6c11
Clarify algorithm for replacing content
richvdh adcdddc
background
richvdh fc2a690
More clarifications on applying edits
richvdh 80c467b
Clarify behaviour of redactions
richvdh 6cea76a
Minor grammar fixes
richvdh dac2399
Move the section on `msgtype` down
richvdh b8a7745
Clarify how edits are ordered
richvdh 79a362e
Spec the behaviour for encrypted events
richvdh bb96694
Requirements for an edit event to be considered valid
richvdh dd1ca71
Collect "client behaviour" and "sever behaviour" together
richvdh eba4753
Clarify permalinks section
richvdh 78550a2
Notes on edits of replies
richvdh e58715c
Clarify that `m.relates_to` within `m.new_content` is ignored
richvdh 4c77c01
Clarifications from review
richvdh 1850fb5
event ids are sorted lexicographically
richvdh c9e6652
Clarify aggregation section
richvdh 1e63094
minor clarifications
richvdh 2373873
Clarify which endpoints support edits
richvdh 8ec4cf3
move definition of latest edit
richvdh 08489e8
Apply suggestions from code review
richvdh f3d328d
fix typo
richvdh b245761
Attempt to clarify encrypted events
richvdh 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
Clarify that
m.relates_to
within m.new_content
is ignored
- Loading branch information
commit e58715cfa7e940e58dcd4ecde08283db02f9ee85
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
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.
When the original
content
is replaced, what happens, when the edit is deleted? Where does the originalcontent
come from, when it already has been replaced? Wouldn't it be more consistent to keep the originalcontent
and the client just uses the aggregation for the latestcontent
?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.
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.
"Hopefully, processes have improved over the last three years"
. I don't think that merging an immature MSC just because Element does implement it is an "improvement". Element should implement the matrix spec and not the matrix spec should specify Elements implementation ;)The section "Applying
m.new_content
" is from my viewpoint of a SDK developer far more complicated then it needs to be.