diff --git a/upub/core/src/traits/normalize.rs b/upub/core/src/traits/normalize.rs index 03a28ce2..c7330488 100644 --- a/upub/core/src/traits/normalize.rs +++ b/upub/core/src/traits/normalize.rs @@ -201,7 +201,13 @@ impl AP { apb::ObjectType::Activity(_) | apb::ObjectType::Actor(_) | apb::ObjectType::Collection(_) - | apb::ObjectType::Document(_) + | apb::ObjectType::Document( + // TODO lemmy posts are PAGEs... + apb::DocumentType::Document + | apb::DocumentType::Audio + | apb::DocumentType::Image + | apb::DocumentType::Video + ) ) { return Err(apb::FieldErr("type")); }