]> Untitled Git - lemmy.git/blobdiff - crates/api_crud/src/comment/update.rs
Use audience field to federate items in groups (fixes #2464) (#2584)
[lemmy.git] / crates / api_crud / src / comment / update.rs
index d941529537354c1ded10017a2d9f040cdcc09ff2..0d89acc2924c6657cf6b1fdb64ad5ab915e7d300 100644 (file)
@@ -12,7 +12,7 @@ use lemmy_api_common::{
   },
 };
 use lemmy_apub::protocol::activities::{
-  create_or_update::comment::CreateOrUpdateComment,
+  create_or_update::note::CreateOrUpdateNote,
   CreateOrUpdateType,
 };
 use lemmy_db_schema::{
@@ -115,7 +115,7 @@ impl PerformCrud for EditComment {
     .await?;
 
     // Send the apub update
-    CreateOrUpdateComment::send(
+    CreateOrUpdateNote::send(
       updated_comment.into(),
       &local_user_view.person.into(),
       CreateOrUpdateType::Update,