Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry committed Oct 18, 2024
1 parent ce7c79b commit 23c2a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions livekit-ffi/src/server/room.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ impl RoomInner {
)
.await;
let sent_message = res.as_ref().unwrap().clone();
let _ = server.send_event(proto::ffi_event::Message::SendChatMessage(
let _ = server.send_event(proto::ffi_event::Message::ChatMessage(
proto::SendChatMessageCallback {
async_id,
error: res.err().map(|e| e.to_string()),
Expand Down Expand Up @@ -619,7 +619,7 @@ impl RoomInner {
)
.await;
let sent_message: ChatMessage = res.as_ref().unwrap().clone();
let _ = server.send_event(proto::ffi_event::Message::SendChatMessage(
let _ = server.send_event(proto::ffi_event::Message::ChatMessage(
proto::SendChatMessageCallback {
async_id,
error: res.err().map(|e| e.to_string()),
Expand Down

0 comments on commit 23c2a7c

Please sign in to comment.