]> Untitled Git - lemmy.git/commitdiff
Fix build error in #1914
authorFelix Ableitner <me@nutomic.com>
Fri, 19 Nov 2021 17:05:23 +0000 (18:05 +0100)
committerFelix Ableitner <me@nutomic.com>
Fri, 19 Nov 2021 17:05:23 +0000 (18:05 +0100)
crates/apub/src/activities/community/announce.rs

index d7ae6d93f5aaaf72719ab374f2552fde16c73804..9d76b5240efd238a04d7accb46ee5ad922e3d0ce 100644 (file)
@@ -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())?;