From 1814d7b1874c3fa89ff842f33d30ece6ef3aa884 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 7 Jun 2024 17:11:34 +0200 Subject: [PATCH] fix: process updates for lemmy pages too --- upub/core/src/traits/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upub/core/src/traits/process.rs b/upub/core/src/traits/process.rs index 596b6b87..2a817447 100644 --- a/upub/core/src/traits/process.rs +++ b/upub/core/src/traits/process.rs @@ -261,7 +261,7 @@ pub async fn update(ctx: &crate::Context, activity: impl apb::Activity, tx: &Dat .exec(tx) .await?; }, - apb::ObjectType::Note => { + apb::ObjectType::Note | apb::ObjectType::Document(apb::DocumentType::Page) => { let internal_oid = crate::model::object::Entity::ap_to_internal(&oid, tx) .await? .ok_or(ProcessorError::Incomplete)?;