-
Notifications
You must be signed in to change notification settings - Fork 322
feat: Change type of DecryptedRoomEvent::event
to Raw<AnyTimelineEvent>
#5512
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: Change type of DecryptedRoomEvent::event
to Raw<AnyTimelineEvent>
#5512
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5512 +/- ##
=======================================
Coverage 88.57% 88.57%
=======================================
Files 339 339
Lines 93627 93627
Branches 93627 93627
=======================================
+ Hits 82927 82934 +7
+ Misses 6565 6558 -7
Partials 4135 4135 ☔ View full report in Codecov by Sentry. |
Signed-off-by: kaylendog <[email protected]>
Signed-off-by: kaylendog <[email protected]>
…nt handler Signed-off-by: kaylendog <[email protected]>
Signed-off-by: kaylendog <[email protected]>
1f8f05d
to
699f39f
Compare
DecryptedRoomEvent::event
to Raw<AnyTimelineEvent>
DecryptedRoomEvent::event
type to Raw<AnyTimelineEvent>
DecryptedRoomEvent::event
type to Raw<AnyTimelineEvent>
DecryptedRoomEvent::event
to Raw<AnyTimelineEvent>
Test failure seems to be an internal problem at codspeed |
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, and kudos for breaking into small commits. I like each commit to compile and pass tests, however, because it makes git bisect
work nicely, so I'd prefer all in one commit if these don't compile separately :-)
No need to change that now though: we can squash merge this if we agree it should all be combined.
For the changelog: please can you list the pub
functions that are affected and what users should do to if they use these methods?
864fbeb
to
b1ab5c4
Compare
CodSpeed Performance ReportMerging #5512 will not alter performanceComparing Summary
|
Unable to generate the performance reportThere was an internal error while processing the run's data. We're working on fixing the issue. Feel free to contact us on Discord or at [email protected] if the issue persists. |
Thanks for the patch. Can you explain me why you need that? The changes are good and nice, kudos for that, but you forgot to explain the motivations for that ^^. |
It's fundamentally about being able to avoid casting when implementing encrypted state events. At the moment, using I would have liked to feature gate this behind |
DecryptedRoomEvent::event
toRaw<AnyTimelineEvent>
AnyTimelineEvent::MessageLike
where necessary