Skip to content
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

[Media+Timeline] Local echo support for media attachments #1732

Open
7 tasks
stefanceriu opened this issue Apr 3, 2023 · 1 comment
Open
7 tasks

[Media+Timeline] Local echo support for media attachments #1732

stefanceriu opened this issue Apr 3, 2023 · 1 comment
Assignees

Comments

@stefanceriu
Copy link
Member

stefanceriu commented Apr 3, 2023

Sending media attachments through the Timeline should make use of local echoes for a seamless experience.


Sub project: handle media upload in the send queue

  • break apart uploading in a small state machine that can be reused in the send queue
  • modify the send queue storage format so it takes care of "requests", not only sending "event content"
  • add a new request type for uploading a media
  • (draw the rest of the freaking howl)
  • handle medias local echoes in the timeline
  • allow cancelling a media upload (be careful about the state of the upload machine, consider whether it's worth deleting uploaded content or not)

Tasks

Related

@jplatte
Copy link
Collaborator

jplatte commented Jan 9, 2024

Synapse implements asyncronous uploads from v1.97.0 onwards, with which this should be easier to implement (can generate a transaction ID / get an event ID for it in parallel with the upload). Ruma also supports the new endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants