mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 21:39:21 +00:00
Send a message when updating conversation message
This commit is contained in:
parent
de2448d496
commit
6762e291d3
@ -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::<fn(&_) -> _>,
|
||||||
|
)?;
|
||||||
|
}
|
||||||
|
|
||||||
Event::DeleteConversationMessage(msg) => {}
|
Event::DeleteConversationMessage(msg) => {}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user