From 2eb43889a4523905d681a88cae9becd03656509a Mon Sep 17 00:00:00 2001 From: Nutomic Date: Wed, 13 Oct 2021 14:12:41 +0000 Subject: [PATCH] Fix federation of initial post/comment vote (fixes #1824) (#1835) --- crates/apub/src/fetcher/post_or_comment.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/apub/src/fetcher/post_or_comment.rs b/crates/apub/src/fetcher/post_or_comment.rs index 531074993..c25cb22c0 100644 --- a/crates/apub/src/fetcher/post_or_comment.rs +++ b/crates/apub/src/fetcher/post_or_comment.rs @@ -26,6 +26,7 @@ pub enum PostOrCommentForm { } #[derive(Deserialize)] +#[serde(untagged)] pub enum PageOrNote { Page(Page), Note(Note),