Merge pull request #8461 from annando/issue-8341

Issue 8341: Make events sharable
This commit is contained in:
Tobias Diekershoff 2020-03-28 15:30:43 +01:00 committed by GitHub
commit 66fe39f175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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