Issue 8341: Make events sharable
This commit is contained in:
parent
b791966f93
commit
b5cdd78523
|
@ -544,7 +544,7 @@ class Processor
|
||||||
Logger::info('Accepting post', ['uid' => $receiver, 'url' => $item['uri']]);
|
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);
|
self::createEvent($activity, $item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue