From: Felix Ableitner Date: Fri, 19 Nov 2021 17:05:23 +0000 (+0100) Subject: Fix build error in #1914 X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/static/README.zh.hant.md?a=commitdiff_plain;h=3e4fe89a45b1474f6c17295fe92b98f0ca0ffc04;p=lemmy.git Fix build error in #1914 --- diff --git a/crates/apub/src/activities/community/announce.rs b/crates/apub/src/activities/community/announce.rs index d7ae6d93..9d76b524 100644 --- a/crates/apub/src/activities/community/announce.rs +++ b/crates/apub/src/activities/community/announce.rs @@ -104,7 +104,7 @@ impl ActivityHandler for AnnounceActivity { // TODO: this can probably be implemented in a cleaner way match self.object { // Dont insert these into activities table, as they are not activities. - AnnouncableActivities::Page(_) | AnnouncableActivities::Note(_) => {} + AnnouncableActivities::Page(_) => {} _ => { let object_value = serde_json::to_value(&self.object)?; let object_data: ActivityCommonFields = serde_json::from_value(object_value.to_owned())?;