-
Notifications
You must be signed in to change notification settings - Fork 391
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
[WIP] MSC3868: Room Contribution #3868
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
(converting this to a draft given TODO-style comments within the text) Edit: or not, because for some reason it won't let me. |
@@ -0,0 +1,55 @@ | |||
# MSC3868: Room Contribution |
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.
Not actually relevant for this MSC (and imho not a blocker), but I want to have it noted at an area we can link to later:
This seems also a pretty good thing to have when we have profiles as rooms eventually :) Basically having "personal links" via this in a nice way.
Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
…light dependency Co-authored-by: Jae Lo Presti <me@jae.fi> Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
A lot of GitHub projects display badges. It might be interesting to allow images as well as urls, possibly with an extra key: |
I find that to be a good idea, however, after a discussion with @Mikaela we are a bit concerned over some points:
|
To be clearer:
You are right though, it would be tempting to upload a lot of images for dynamic badges. For cleanup, there is still the admin API: https://matrix-org.github.io/synapse/latest/admin_api/media_admin_api.html#delete-local-media-by-date-or-size and purge remote media. Those files should be relatively small, but I don't really see a solution short of allowing a background-image and formatted_body, which sounds relatively complex to implement. |
Other changes: - Added comment on possible benefit from MSC3468 Co-authored-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
Thanks for the input @MayeulC and what you said makes sense. |
Looks good!
I assume people will just pick something that looks good on their client. |
I assume as well that clients will format it the best it looks for them and will probably fix height and width limits on their own. I'm gonna look into base64 but I think the MXC URIs are solid and the most practical choice for now. |
Rendered
Signed-off-by: Aminda Suomalainen suomalainen+git@mikaela.info
Signed-off-by: Jae Lo Presti me@jae.fi