Add check to make sure that inbox doesnt receive local activities (ref #1283) #147
Loading…
Reference in New Issue
No description provided.
Delete Branch "inbox-not-local"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -154,0 +160,4 @@
let activity_domain = id.domain().context(location_info!())?;
if activity_domain != Settings::get().hostname {
return Err(
Shouldn't it throw the error if it IS a local activity, IE activity_domain == my.hostname
Damn you're right. I dont know how the tests passed with this.
Fixed, also pushed to github. Please squash when merging.
Cool, once tests pass I'll squash and merge.
When I tested the original commit locally, I still had
assert!()
instead ofreturn Err()
, so I must have rewritten it wrong (and didnt run tests again).