From b83786522685495dca1d975e761a17b5a5d5634e Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 8 Jan 2025 21:20:49 +0100 Subject: [PATCH] refactor(ui): Inherit Send / Sync bounds on RoomDataProvider from super traits --- crates/matrix-sdk-ui/src/timeline/traits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk-ui/src/timeline/traits.rs b/crates/matrix-sdk-ui/src/timeline/traits.rs index d4ad9bdf288..ac6e3aa02b1 100644 --- a/crates/matrix-sdk-ui/src/timeline/traits.rs +++ b/crates/matrix-sdk-ui/src/timeline/traits.rs @@ -71,7 +71,7 @@ impl RoomExt for Room { } pub(super) trait RoomDataProvider: - Clone + Send + Sync + 'static + PaginableRoom + PinnedEventsRoom + Clone + PaginableRoom + PinnedEventsRoom + 'static { fn own_user_id(&self) -> &UserId; fn room_version(&self) -> RoomVersionId;