From 3e4fe89a45b1474f6c17295fe92b98f0ca0ffc04 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 19 Nov 2021 18:05:23 +0100 Subject: [PATCH] Fix build error in #1914 --- crates/apub/src/activities/community/announce.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())?; -- 2.44.1