From e508eada2686d8555a20a64bd4229af7f4f06cc0 Mon Sep 17 00:00:00 2001 From: Bat Date: Tue, 4 Sep 2018 11:39:24 +0100 Subject: [PATCH] Federate follow deletion --- src/inbox.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/inbox.rs b/src/inbox.rs index 5a4d0bbc..414e9601 100644 --- a/src/inbox.rs +++ b/src/inbox.rs @@ -55,6 +55,10 @@ pub trait Inbox { "Announce" => { Reshare::delete_id(act.undo_props.object_object::()?.object_props.id_string()?, conn); Ok(()) + }, + "Follow" => { + Follow::delete_id(act.undo_props.object_object::()?.object_props.id_string()?, conn); + Ok(()) } _ => Err(InboxError::CantUndo)? }