- CreateOrUpdateChatMessage::send(
- updated_private_message.into(),
- &local_user_view.person.into(),
- CreateOrUpdateType::Create,
- context,
- )
- .await?;
-
- let res = send_pm_ws_message(
- inserted_private_message.id,
- UserOperationCrud::CreatePrivateMessage,
- websocket_id,
- context,
- )
- .await?;