From 886bab3c698c8e044ae1509b746b1c1de09d77f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Mart=C3=ADn?= Date: Tue, 23 Jul 2024 10:30:14 +0200 Subject: [PATCH] fixup!: fix typos --- crates/matrix-sdk-ui/src/timeline/event_item/remote.rs | 2 +- crates/matrix-sdk-ui/src/timeline/inner/state.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/matrix-sdk-ui/src/timeline/event_item/remote.rs b/crates/matrix-sdk-ui/src/timeline/event_item/remote.rs index add84ba0cf3..535a00df7f6 100644 --- a/crates/matrix-sdk-ui/src/timeline/event_item/remote.rs +++ b/crates/matrix-sdk-ui/src/timeline/event_item/remote.rs @@ -44,7 +44,7 @@ pub(in crate::timeline) struct RemoteEventTimelineItem { /// Note that currently this ignores threads. pub read_receipts: IndexMap, - /// Whether the event has been sent by the the logged-in user themselves. + /// Whether the event has been sent by the logged-in user themselves. pub is_own: bool, /// Whether the item should be highlighted in the timeline. diff --git a/crates/matrix-sdk-ui/src/timeline/inner/state.rs b/crates/matrix-sdk-ui/src/timeline/inner/state.rs index d899a0099b7..1d15f9d38e5 100644 --- a/crates/matrix-sdk-ui/src/timeline/inner/state.rs +++ b/crates/matrix-sdk-ui/src/timeline/inner/state.rs @@ -172,7 +172,7 @@ impl TimelineInnerState { timestamp: MilliSecondsSinceUnixEpoch::now(), is_own_event: true, read_receipts: Default::default(), - // An event sent by ourself is never matched against push rules. + // An event sent by ourselves is never matched against push rules. is_highlighted: false, flow: Flow::Local { txn_id, send_handle }, };