This repository has been 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
Fix messages from multiple senders in historical chunk (MSC2716) #10276
Merged
MadLittleMods
merged 14 commits into
develop
from
madlittlemods/2716-multiple-senders-in-chunk
Jul 13, 2021
+76
−11
Merged
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ceec7f7
Add base starting insertion point when no chunk ID is provided
MadLittleMods 3083660
Add changelog
MadLittleMods 6d0f561
Merge branch 'develop' into madlittlemods/2716-base-insertion-event
MadLittleMods 9d60613
Add more better comments
MadLittleMods 14cd25d
Fix messages from multiple senders in historical chunk
MadLittleMods 254a2f3
Remove debug lines
MadLittleMods bb92d87
Add changelog
MadLittleMods d7eb538
Make a fake requester with just what we need
MadLittleMods 4dfa4ff
Make base insertion event float off on its own
MadLittleMods 85b3eb2
Merge branch 'madlittlemods/2716-base-insertion-event' into madlittle…
MadLittleMods dae35d1
Validate that the app service can actually control the given user
MadLittleMods c0909de
Merge branch 'develop' into madlittlemods/2716-multiple-senders-in-chunk
MadLittleMods 3596575
Add some better comments on what we're trying to check for
MadLittleMods 21a5d6a
Share validation logic
MadLittleMods 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix historical batch send endpoint (MSC2716) rejecting batches with messages from multiple senders. |
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.
This logic is based off of
synapse/synapse/api/auth.py
Lines 264 to 270 in d26094e