Make Event trait Send+Sync.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-08 11:50:54 +00:00
parent b0315da3d7
commit 8244d78cb2
15 changed files with 27 additions and 25 deletions

View File

@@ -29,7 +29,7 @@ pub(super) async fn handle_prev_pdu<'a, Pdu>(
prev_id: &'a EventId,
) -> Result
where
Pdu: Event + Send + Sync,
Pdu: Event,
{
// Check for disabled again because it might have changed
if self.services.metadata.is_disabled(room_id).await {