-
Notifications
You must be signed in to change notification settings - Fork 401
MSC4230: Flag for animated images #4230
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
base: main
Are you sure you want to change the base?
Conversation
|
||
## Proposal | ||
|
||
We add an optional boolean flag, `ia_animated` to the `info` object of image events indicating if |
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.
To clarify, this field would be allowed in the info
on msgtype: m.image
and type: m.sticker
events?
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.
I guess just images for now: clarified.
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.
Any reason not to allow it for stickers?
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.
I'm not really sure to be honest, which is exactly why I'm leaving it for someone else to propose if they think it's appropriate.
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.
Given that stickers are ~renamed images, I agree with Sumner that the same should apply to stickers.
We don't have extensible events yet, but MSC3552 goes in the same direction about the images and stickers relation ship.
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.
+1, let's do it for stickers too.
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.
I'm afraid I am somewhat drowning with other commitments at the moment. If anyone would like to propose an update to this that would encompass stickers then please go ahead, otherwise I will put this on the back burner for a bit.
Co-authored-by: Will Hunt <will@half-shot.uk>
This is implemented in Fractal too as of today: |
As per discussion on element-hq/element-web#28311 and since this now has 2 impls, I'm going to @mscbot fcp merge |
Team member @mscbot has proposed to merge this. The next step is review by the rest of the tagged people: Concerns:
Once at least 75% of reviewers approve (and there are no outstanding concerns), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for information about what commands tagged team members can give me. |
MSCs proposed for Final Comment Period (FCP) should meet the requirements outlined in the checklist prior to being accepted into the spec. This checklist is a bit long, but aims to reduce the number of follow-on MSCs after a feature lands. SCT members: please check off things you check for, and raise a concern against FCP if the checklist is incomplete. If an item doesn't apply, prefer to check it rather than remove it. Unchecking items is encouraged where applicable. Checklist:
|
@mscbot concern Checklist incomplete (I haven't attempted to pre-populate it this time, sorry) |
|
||
## Proposal | ||
|
||
We add an optional boolean flag, `ia_animated` to the `info` object of image events indicating if |
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.
+1, let's do it for stickers too.
Other than the nit-picking, this looks good to me, except that I agree with the "let's extend this to stickers" thread. |
I think the current state of this is that it's blocked on figuring out what extending it to stickers would involve. However, I have very little knowledge on how stickers work in my head right now, so if anyone would like to chip in with this this would be very welcome. Otherwise, we can consider cancelling it and coming back with a fresh MSC considering both. |
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.
I think that is all it takes to make this work for stickers.
|
||
## Proposal | ||
|
||
We add an optional boolean flag, `is_animated` to the `info` object of `m.image` events indicating if |
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.
We add an optional boolean flag, `is_animated` to the `info` object of `m.image` events indicating if | |
We add an optional boolean flag, `is_animated` to the `info` object of `m.image` and `m.sticker` events indicating if |
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.
If we can check this to make sure, this seems fine to me.
Proposes adding a boolean flag to images that indicates whether they're animated.
Impl: element-hq/element-web#28513
Rendered
Disclosure: This is presented wearing my, "Element Employee and Element Web Engineer" hat.
FCP tickyboxes
MSC checklist