Fixed comparison

This commit is contained in:
Felix Ableitner 2020-12-01 15:42:44 +01:00
parent 2df0008902
commit a18cdea90c

View file

@ -159,7 +159,7 @@ where
let id = activity.id_unchecked().context(location_info!())?;
let activity_domain = id.domain().context(location_info!())?;
if activity_domain != Settings::get().hostname {
if activity_domain == Settings::get().hostname {
return Err(
anyhow!(
"Error: received activity which was sent by local instance: {:?}",