Browse Source

Issue 8341: Make events sharable

pull/8461/head
Michael 2 years ago
parent
commit
b5cdd78523
  1. 2
      src/Protocol/ActivityPub/Processor.php

2
src/Protocol/ActivityPub/Processor.php

@ -544,7 +544,7 @@ class Processor
Logger::info('Accepting post', ['uid' => $receiver, 'url' => $item['uri']]);
}
if ($activity['object_type'] == 'as:Event') {
if (($item['gravity'] != GRAVITY_ACTIVITY) && ($activity['object_type'] == 'as:Event')) {
self::createEvent($activity, $item);
}

Loading…
Cancel
Save