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