mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
We can now manage relay servers and can send content to them
This commit is contained in:
parent
ca624ec612
commit
178455928a
6 changed files with 226 additions and 3 deletions
|
@ -163,11 +163,13 @@ class Receiver
|
|||
|
||||
if ($type != 'as:Announce') {
|
||||
Logger::info('Not an announcement', ['activity' => $activity]);
|
||||
return;
|
||||
}
|
||||
|
||||
$object_id = JsonLD::fetchElement($activity, 'as:object', '@id');
|
||||
if (empty($object_id)) {
|
||||
Logger::info('No object id found', ['activity' => $activity]);
|
||||
return;
|
||||
}
|
||||
|
||||
Logger::info('Got relayed message id', ['id' => $object_id]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue