Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
typester committed Dec 17, 2024
1 parent 3d9168a commit 16eeacb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/wgpu_room/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ async fn service_task(inner: Arc<ServiceInner>, mut cmd_rx: mpsc::UnboundedRecei
key_provider,
});

let mut options = RoomOptions::default();
options.auto_subscribe = auto_subscribe;
options.e2ee = e2ee;

let res = Room::connect(
&url,
&token,
RoomOptions {
auto_subscribe,
e2ee,
..Default::default()
},
options,
)
.await;

Expand Down

0 comments on commit 16eeacb

Please sign in to comment.