Log on wrong actor follow

This commit is contained in:
asonix 2020-03-18 00:07:52 -05:00
parent 877fa1418e
commit 26b4129261

View file

@ -152,6 +152,7 @@ async fn handle_follow(
let my_id: XsdAnyUri = state.generate_url(UrlKind::Actor).parse()?;
if !input.object.is(&my_id) {
error!("Wrong Actor, {:?}", input);
return Err(MyError::WrongActor(input.object.id().to_string()));
}