-
Notifications
You must be signed in to change notification settings - Fork 269
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
feat(sdk): Allow to set and check whether an image is animated #4503
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4503 +/- ##
==========================================
- Coverage 85.37% 85.36% -0.01%
==========================================
Files 284 284
Lines 31885 31886 +1
==========================================
- Hits 27222 27221 -1
- Misses 4663 4665 +2 ☔ View full report in Codecov by Sentry. |
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.
Looks good.
crates/matrix-sdk/CHANGELOG.md
Outdated
|
||
- Allow to set and check whether an image is animated via its `ImageInfo`. | ||
- Implement `Default` for `BaseImageInfo`, `BaseVideoIndo`, `BaseAudioInfo` and | ||
`BaseFileInfo`. |
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.
Ah, I spoke too soon. Could you please link to the PR here?
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.
Done.
Using MSC4230. Signed-off-by: Kévin Commaille <[email protected]>
c4da95d
to
8e15b94
Compare
Since all of their fields are optional, it simplifies their construction. Signed-off-by: Kévin Commaille <[email protected]>
8e15b94
to
ece3614
Compare
Fixed a typo 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.
Thank you.
Using MSC4230.
While I was in the area I added a second commit to implement
Default
for theBase*Info
types since they only have optional fields and it is easier to construct them that way when we don't want to set all fields.This can be reviewed commit by commit.