File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
crates/matrix-sdk-ui/src/timeline Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ impl TimelineBuilder {
196196 // TODO: (bnjbvr) account_data and ephemeral should be handled by the
197197 // event cache, and we should replace this with a simple
198198 // `handle_add_events`.
199- inner. handle_joined_room_update ( events, account_data, ephemeral) . await ;
199+ inner. handle_sync_events ( events, account_data, ephemeral) . await ;
200200
201201 let member_ambiguity_changes = ambiguity_changes
202202 . values ( )
Original file line number Diff line number Diff line change @@ -425,15 +425,15 @@ impl<P: RoomDataProvider> TimelineInner<P> {
425425 self . state . write ( ) . await . clear ( ) ;
426426 }
427427
428- pub ( super ) async fn handle_joined_room_update (
428+ pub ( super ) async fn handle_sync_events (
429429 & self ,
430430 events : Vec < SyncTimelineEvent > ,
431431 account_data : Vec < Raw < AnyRoomAccountDataEvent > > ,
432432 ephemeral : Vec < Raw < AnySyncEphemeralRoomEvent > > ,
433433 ) {
434434 let mut state = self . state . write ( ) . await ;
435435 state
436- . handle_joined_room_update (
436+ . handle_sync_events (
437437 events,
438438 account_data,
439439 ephemeral,
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ impl TimelineInnerState {
115115 }
116116
117117 #[ instrument( skip_all) ]
118- pub ( super ) async fn handle_joined_room_update < P : RoomDataProvider > (
118+ pub ( super ) async fn handle_sync_events < P : RoomDataProvider > (
119119 & mut self ,
120120 events : Vec < SyncTimelineEvent > ,
121121 account_data : Vec < Raw < AnyRoomAccountDataEvent > > ,
You can’t perform that action at this time.
0 commit comments