21 if (!ModuleManager::isModuleInstalled(
'pull') || !Loader::includeModule(
'pull'))
26 if (in_array(
$event->getType(), self::SUPPORTED_EVENTS) && $recipient->
isOnline())
28 $recipients = [$recipient->
getId()];
31 $spaceId =
$event->getGroupId();
33 PushService::addEvent($recipients, [
34 'module_id' => PushService::MODULE_NAME,
35 'command' => PushEventDictionary::getPushEventType(
$event->getType()),
38 'GROUP_ID' => $spaceId,