+#[async_trait::async_trait]
+impl SendActivity for EditPost {
+ type Response = PostResponse;
+
+ async fn send_activity(
+ _request: &Self,
+ response: &Self::Response,
+ context: &Data<LemmyContext>,
+ ) -> Result<(), LemmyError> {
+ CreateOrUpdatePage::send(
+ response.post_view.post.clone(),
+ response.post_view.creator.id,
+ CreateOrUpdateType::Update,
+ context.reset_request_count(),
+ )
+ .await
+ }
+}
+