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