forked from alemi/upub
fix: process updates for lemmy pages too
This commit is contained in:
parent
8a93a7368e
commit
1814d7b187
1 changed files with 1 additions and 1 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue