Skip to content

Commit

Permalink
Fix CLI receive packet type.
Browse files Browse the repository at this point in the history
  • Loading branch information
vldr committed May 26, 2024
1 parent e801c0a commit 3912398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ pub async fn start(socket: Socket, fragment: &str) {
println!("Attempting to join room '{}'...", id);
context
.sender
.send_json_packet(JsonPacket::Create { size: Some(2) });
.send_json_packet(JsonPacket::Join { id: id.to_string() });

let outgoing_handler = receiver.stream().map(Ok).forward(outgoing);
let incoming_handler = incoming.try_for_each(|message| {
Expand Down

0 comments on commit 3912398

Please sign in to comment.