mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-23 03:51:00 +00:00
Federate follow deletion
This commit is contained in:
parent
dcebc4653a
commit
e508eada26
1 changed files with 4 additions and 0 deletions
|
@ -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)?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue