Commit 0af35000 authored by Zot's avatar Zot Committed by Mario

That's pretty much the end for ActivityPub.

parent c9d5a6ef
......@@ -384,6 +384,13 @@ function pubcrawl_notifier_process(&$arr) {
if(strpos($arr['target_item']['author']['xchan_url'],z_root() . '/guest/') !== false) {
return;
}
// AP does not allow any messages where the sender is different from the actor
if($arr['channel']['channel_hash'] != $targe_item['author_xchan']) {
return;
}
}
......@@ -394,6 +401,7 @@ function pubcrawl_notifier_process(&$arr) {
return;
}
if($arr['location'])
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment