use lemmy_apub::{
generate_local_apub_endpoint,
objects::comment::ApubComment,
- protocol::activities::{create_or_update::comment::CreateOrUpdateComment, CreateOrUpdateType},
+ protocol::activities::{create_or_update::note::CreateOrUpdateNote, CreateOrUpdateType},
EndpointType,
};
use lemmy_db_schema::{
.map_err(|e| LemmyError::from_error_message(e, "couldnt_like_comment"))?;
let apub_comment: ApubComment = updated_comment.into();
- CreateOrUpdateComment::send(
+ CreateOrUpdateNote::send(
apub_comment.clone(),
&local_user_view.person.clone().into(),
CreateOrUpdateType::Create,