Метод onAfterDetachChild
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
66–74
~/bitrix/modulesim/lib/V2/Chat/CollabChat.php
Исходный код
Сигнатура метода
public function onAfterDetachChild(GroupChat $childChat, int $userId): void
Возвращает:
void
Описание
Detaching a child chat from the project can leave this collab's recent rows pointing at a message in a chat that is no longer part of the project, so the materialized preview-source pointer must be recomputed for every member (the detached child is no longer a resolver candidate).
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$childChat
|
GroupChat
|
-
|
-
|
$userId
|
int
|
-
|
-
|