Метод getCommonChatPartnersQuery
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
55–71
~/bitrix/modulesim/lib/V2/Entity/User/UserGuest.php
Исходный код
Сигнатура метода
public function getCommonChatPartnersQuery(): Query
Возвращает:
Query
Описание
Users sharing at least one chat with this guest, private 1-1 dialogs included (a direct dialog is itself a shared context, so its partner stays findable). Single source of truth for guest visibility — used both for access checks and to scope user search to people the guest already talks to.