]> Untitled Git - lemmy.git/blobdiff - crates/api/src/post/sticky.rs
Use audience field to federate items in groups (fixes #2464) (#2584)
[lemmy.git] / crates / api / src / post / sticky.rs
index ec4c39a85a7b651abc1781461a4bd27935675da4..384ba52d6605b71de04f158843e2d279c6097c62 100644 (file)
@@ -11,7 +11,7 @@ use lemmy_api_common::{
 };
 use lemmy_apub::{
   objects::post::ApubPost,
-  protocol::activities::{create_or_update::post::CreateOrUpdatePost, CreateOrUpdateType},
+  protocol::activities::{create_or_update::page::CreateOrUpdatePage, CreateOrUpdateType},
 };
 use lemmy_db_schema::{
   source::{
@@ -78,7 +78,7 @@ impl Perform for StickyPost {
 
     // Apub updates
     // TODO stickied should pry work like locked for ease of use
-    CreateOrUpdatePost::send(
+    CreateOrUpdatePage::send(
       updated_post,
       &local_user_view.person.clone().into(),
       CreateOrUpdateType::Update,