Fixed comparison
This commit is contained in:
parent
2df0008902
commit
a18cdea90c
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ where
|
||||||
let id = activity.id_unchecked().context(location_info!())?;
|
let id = activity.id_unchecked().context(location_info!())?;
|
||||||
let activity_domain = id.domain().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(
|
return Err(
|
||||||
anyhow!(
|
anyhow!(
|
||||||
"Error: received activity which was sent by local instance: {:?}",
|
"Error: received activity which was sent by local instance: {:?}",
|
||||||
|
|
Loading…
Reference in a new issue