Метод captureMembersToPromoteOnAttach
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
514–528
~/bitrix/modulesim/lib/V2/Chat/Update/UpdateService.php
Исходный код
Сигнатура метода
private function captureMembersToPromoteOnAttach(int $oldParentChatId): array
Возвращает:
array
Описание
On attach (parent 0 -> N) the chat's members must become members of the parent project. We read them while the chat is still parentless so getRelations() is unfiltered — reading the access-filtered view after the parent is set would both omit and mark-for-deletion members who are not project members yet. Returns [] for any update that is not an attach.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$oldParentChatId
|
int
|
-
|
-
|