diff --git a/src/controllers/conversations_controller.rs b/src/controllers/conversations_controller.rs index e6fcfb5..faf2a74 100644 --- a/src/controllers/conversations_controller.rs +++ b/src/controllers/conversations_controller.rs @@ -352,7 +352,14 @@ pub fn handle_event(e: &events_helper::Event) -> Res { )?; } - Event::UpdatedConversationMessage(msg) => {} + Event::UpdatedConversationMessage(msg) => { + user_ws_controller::send_message_to_specific_connections( + |f| f.conversations.contains(&msg.conv_id), + |_| UserWsMessage::no_id_message("updated_conv_message", ConversationMessageAPI::new(msg)), + None:: _>, + )?; + } + Event::DeleteConversationMessage(msg) => {} _ => {} }