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

Matrix events have a size limit; may interact badly with snapshots #11

Open
reivilibre opened this issue Mar 29, 2022 · 5 comments
Open

Comments

@reivilibre
Copy link

The title describes it all really, but Matrix events have a 65536 byte size limit (with the server-side attributes included), so this currently places an upper bound on the size of a snapshot (and thus presumably on the size of a document?) as they are encoded as events.

Do you have anything in mind to work around this; e.g. encoding snapshots as (encrypted) media?

@reivilibre reivilibre changed the title Matrix events have a size limit; may interoperate badly with snapshots Matrix events have a size limit; may interact badly with snapshots Mar 29, 2022
@YousefED
Copy link
Owner

YousefED commented Apr 7, 2022

@reivilibre You're right. Have you run into this? The solution I have in mind would be fairly straightforward indeed; to send messages / snapshots that exceed the size limit as attachments (media). Afaik that approach shouldn't have any downsides

@reivilibre
Copy link
Author

I haven't ran into this yet, but an application I was looking to make would do quite easily so I thought I'd be smart for a change and check first :-)

@vintprox
Copy link

vintprox commented Sep 9, 2022

@reivilibre You're right. Have you run into this? The solution I have in mind would be fairly straightforward indeed; to send messages / snapshots that exceed the size limit as attachments (media). Afaik that approach shouldn't have any downsides

Ah, that's one way of surpassing that limit... as an option for size-intensive apps!

@ysds
Copy link

ysds commented Feb 1, 2023

I ran into this problem with my own project as well.
Do you have a plan to tackle this problem? I really hope this problem will be solved.

@jchoi2x
Copy link

jchoi2x commented Dec 29, 2023

Ran into this issue as well.

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

No branches or pull requests

5 participants