From d26255957bd1f3966c73517523c184f129334f7c 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 ff07024f..23fc709d 100644 --- a/crates/apub/src/fetcher/post_or_comment.rs +++ b/crates/apub/src/fetcher/post_or_comment.rs @@ -23,6 +23,7 @@ pub enum PostOrCommentForm { } #[derive(Deserialize)] +#[serde(untagged)] pub enum PageOrNote { Page(Box), Note(Box), -- 2.44.1