From: Nutomic Date: Wed, 13 Oct 2021 14:12:41 +0000 (+0000) Subject: Fix federation of initial post/comment vote (fixes #1824) (#1835) X-Git-Url: http://these/git/%7B%60/feeds/front/static/%24%7BappleTouchIcon%7D?a=commitdiff_plain;h=d26255957bd1f3966c73517523c184f129334f7c;p=lemmy.git Fix federation of initial post/comment vote (fixes #1824) (#1835) --- 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),