Skip to content

Commit

Permalink
fix compilation error (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
typester authored Dec 17, 2024
1 parent ca95b54 commit 7e01c91
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 7e01c91

Please sign in to comment.