Метод enrichCollabPreviewSources

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 178–203
~/bitrix/modulesim/lib/V2/Recent/Recent.php

Исходный код

PHP
public

Сигнатура метода

public function enrichCollabPreviewSources(int $userId): void

Возвращает: void

Описание

Overlays each collab row's preview-source pointer onto $messageId (and source chat id), so the row shows the freshest child-chat message instead of its own last message. No-op when the feature is off. $userId is unused here; kept for signature compatibility with the RecentSync override.

Параметры

1
Имя Тип По умолчанию Флаги
$userId int -
-