Issue 8341: Make events sharable

This commit is contained in:
Michael 2020-03-28 14:02:49 +00:00
parent b791966f93
commit b5cdd78523
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}