Relay settings are now valid for the ActivityRelay as well

This commit is contained in:
Michael 2020-09-22 15:48:44 +00:00
parent 93cd85595c
commit b0c9c9b7cb
5 changed files with 545 additions and 430 deletions

View file

@ -181,7 +181,11 @@ class Receiver
return;
}
Processor::fetchMissingActivity($object_id, [], $actor);
$id = Processor::fetchMissingActivity($object_id, [], $actor);
if (empty($id)) {
Logger::notice('Relayed message had not been fetched', ['id' => $object_id]);
return;
}
$item_id = Item::searchByLink($object_id);
if ($item_id) {
@ -964,7 +968,7 @@ class Receiver
*
* @return array with tags in a simplified format
*/
private static function processTags(array $tags)
public static function processTags(array $tags)
{
$taglist = [];