Skip to content

Commit 57b1930

Browse files
committed
revert non meaningfulchanges
1 parent 708c744 commit 57b1930

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/matrix-sdk-ui/src/timeline/builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ impl TimelineBuilder {
158158
let inner = TimelineInner::new(room, focus, internal_id_prefix, unable_to_decrypt_hook)
159159
.with_settings(settings);
160160

161-
let has_initial_events = inner.init_focus(&room_event_cache).await?;
161+
let has_events = inner.init_focus(&room_event_cache).await?;
162162

163163
let room = inner.room();
164164
let client = room.client();
@@ -313,8 +313,8 @@ impl TimelineBuilder {
313313
spawn(send_queued_messages(inner.clone(), room.clone(), msg_receiver));
314314

315315
let timeline = Timeline {
316-
back_pagination_status: SharedObservable::new(PaginationStatus::Idle),
317316
inner,
317+
back_pagination_status: SharedObservable::new(PaginationStatus::Idle),
318318
msg_sender,
319319
event_cache: room_event_cache,
320320
drop_handle: Arc::new(TimelineDropHandle {
@@ -328,7 +328,7 @@ impl TimelineBuilder {
328328
};
329329

330330
#[cfg(feature = "e2e-encryption")]
331-
if has_initial_events {
331+
if has_events {
332332
// The events we're injecting might be encrypted events, but we might
333333
// have received the room key to decrypt them while nobody was listening to the
334334
// `m.room_key` event, let's retry now.

0 commit comments

Comments
 (0)