-
Notifications
You must be signed in to change notification settings - Fork 419
feat(send_queue): Implement sending of MSC4274 galleries #4977
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0c3161b
feat(send_queue): Implement sending of MSC4274 galleries
Johennes d749ebe
Merge branch 'main' into johannes/msc4274-step2
Johennes 9a62767
Use an OwnedTransactionId to avoid cloning
Johennes 58626d2
Add missing trailing periods in comments
Johennes 932dbf9
Move client and cache store outside of loop
Johennes c6731ca
Prevent sending empty galleries
Johennes 47fe934
Remove superfluous type annotations
Johennes 49c9576
Pre-allocate capacity for item vectors
Johennes 421f5bd
Extract macro for MessageType / GalleryItemType
Johennes b5f4828
Remove superfluous self
Johennes 7149b73
Rename make_message_event to make_media_event
Johennes 0e58e50
Bundle items with GalleryConfig
Johennes fc4aa7e
Avoid type annotation and pre-allocate vector
Johennes e47706e
Avoid unnecessary type annotation
Johennes 4028bb4
Use let / else to reduce indentation
Johennes 3acc0e8
Relocate and rephrase comment for FinishGalleryItemInfo
Johennes 7e7a38c
Extract shared function to update cache keys
Johennes aaa392c
Extract method to push thumbnail & media requests
Johennes 26601a4
Move pushing the dependent media request out of the if / else
Johennes b5b6723
Avoid unwrapping last_upload_file_txn
Johennes 9a491b6
Extract method for caching
Johennes 6b2b3f0
Merge branch 'main' into johannes/msc4274-step2
Johennes 946e05a
Rename config parameter to gallery
Johennes 662d6c7
Remove superfluous blank line
Johennes f235e56
Reduce indentation by returning early
Johennes 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.