-
Notifications
You must be signed in to change notification settings - Fork 290
refactor(timeline): get rid of HandleEventResult
#5030
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5030 +/- ##
==========================================
- Coverage 85.84% 85.83% -0.01%
==========================================
Files 325 324 -1
Lines 35906 35840 -66
==========================================
- Hits 30824 30765 -59
+ Misses 5082 5075 -7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ply-stored context
…ly_aggregation` As it's now unused.
01d1f23
to
d4d23c5
Compare
…ventMeta` + function parameters
d4d23c5
to
0885037
Compare
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.
Super nice cleanup, I definitely find all of it easier to follow now. Thank you!
@@ -229,6 +232,55 @@ impl<'a> TimelineStateTransaction<'a> { | |||
} | |||
} | |||
|
|||
/// Whether the event should be added to the timeline as a new item. | |||
fn should_add_event_item<P: RoomDataProvider>( |
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.
This is nice!
Another set of simplifications after #4655 landed. I'm a bit less sure about the final commits, but this complexity is hard to tame…