Federate follow deletion
This commit is contained in:
parent
dcebc4653a
commit
e508eada26
|
@ -55,6 +55,10 @@ pub trait Inbox {
|
||||||
"Announce" => {
|
"Announce" => {
|
||||||
Reshare::delete_id(act.undo_props.object_object::<Announce>()?.object_props.id_string()?, conn);
|
Reshare::delete_id(act.undo_props.object_object::<Announce>()?.object_props.id_string()?, conn);
|
||||||
Ok(())
|
Ok(())
|
||||||
|
},
|
||||||
|
"Follow" => {
|
||||||
|
Follow::delete_id(act.undo_props.object_object::<Like>()?.object_props.id_string()?, conn);
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
_ => Err(InboxError::CantUndo)?
|
_ => Err(InboxError::CantUndo)?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue