Federate follow deletion

This commit is contained in:
Bat 2018-09-04 11:39:24 +01:00
parent dcebc4653a
commit e508eada26
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ pub trait Inbox {
"Announce" => {
Reshare::delete_id(act.undo_props.object_object::<Announce>()?.object_props.id_string()?, conn);
Ok(())
},
"Follow" => {
Follow::delete_id(act.undo_props.object_object::<Like>()?.object_props.id_string()?, conn);
Ok(())
}
_ => Err(InboxError::CantUndo)?
}