From 649332a8a81f97cb3c9a10b626c1ccc920404182 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 30 Jul 2024 09:19:23 -0400 Subject: [PATCH] Removing some commands. --- crates/apub/src/activity_lists.rs | 1 - crates/utils/src/error.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/crates/apub/src/activity_lists.rs b/crates/apub/src/activity_lists.rs index 2643dc6f4..2d1fac449 100644 --- a/crates/apub/src/activity_lists.rs +++ b/crates/apub/src/activity_lists.rs @@ -117,7 +117,6 @@ impl InCommunity for AnnouncableActivities { CollectionRemove(a) => a.community(context).await, LockPost(a) => a.community(context).await, UndoLockPost(a) => a.community(context).await, - // TODO this needs to be implemented Page(_) => Err(LemmyErrorType::CouldntFindPost.into()), } } diff --git a/crates/utils/src/error.rs b/crates/utils/src/error.rs index 21c3fb06a..542888612 100644 --- a/crates/utils/src/error.rs +++ b/crates/utils/src/error.rs @@ -179,7 +179,6 @@ pub enum LemmyErrorType { UrlWithoutDomain, InboxTimeout, Unknown(String), - NotAnActor, CantDeleteSite, }