Skip to content

Commit

Permalink
Try fixing wasm target
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Dec 17, 2024
1 parent e42162c commit 013408e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions crates/matrix-sdk/src/room/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ use matrix_sdk_base::{
ComposerDraft, RoomInfoNotableUpdateReasons, RoomMemberships, StateChanges, StateStoreDataKey,
StateStoreDataValue,
};
use matrix_sdk_common::{deserialized_responses::SyncTimelineEvent, timeout::timeout};
use matrix_sdk_common::{
deserialized_responses::SyncTimelineEvent,
executor::{spawn, JoinHandle},
timeout::timeout,
};
use mime::Mime;
#[cfg(feature = "e2e-encryption")]
use ruma::events::{
Expand Down Expand Up @@ -117,7 +121,7 @@ use ruma::{
};
use serde::de::DeserializeOwned;
use thiserror::Error;
use tokio::{sync::broadcast, task::JoinHandle};
use tokio::sync::broadcast;
use tokio_stream::StreamExt;
use tracing::{debug, info, instrument, warn};

Expand Down Expand Up @@ -3246,7 +3250,7 @@ impl Room {

// Spawn a task that will clean up the seen knock request ids when updated room
// members are received
let clear_seen_ids_handle = tokio::spawn({
let clear_seen_ids_handle = spawn({
let this = this.clone();
async move {
let mut member_updates_stream = this.room_member_updates_sender.subscribe();
Expand Down

0 comments on commit 013408e

Please sign in to comment.