mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
Conpherence - Fix missing method from D12336; bad branch management. =/
Summary: Ref T7795. Test Plan: updating a conpherence works once more Reviewers: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7795 Differential Revision: https://secure.phabricator.com/D12345
This commit is contained in:
parent
3c254469c9
commit
238381a623
1 changed files with 7 additions and 1 deletions
|
@ -9,6 +9,7 @@ final class ConpherenceThreadQuery
|
|||
private $ids;
|
||||
private $participantPHIDs;
|
||||
private $isRoom;
|
||||
private $needParticipants;
|
||||
private $needWidgetData;
|
||||
private $needTransactions;
|
||||
private $needParticipantCache;
|
||||
|
@ -27,6 +28,11 @@ final class ConpherenceThreadQuery
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function needParticipants($need) {
|
||||
$this->needParticipants = $need;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function needWidgetData($need_widget_data) {
|
||||
$this->needWidgetData = $need_widget_data;
|
||||
return $this;
|
||||
|
@ -98,7 +104,7 @@ final class ConpherenceThreadQuery
|
|||
if ($this->needParticipantCache) {
|
||||
$this->loadCoreHandles($conpherences, 'getRecentParticipantPHIDs');
|
||||
}
|
||||
if ($this->needWidgetData) {
|
||||
if ($this->needWidgetData || $this->needParticipants) {
|
||||
$this->loadCoreHandles($conpherences, 'getParticipantPHIDs');
|
||||
}
|
||||
if ($this->needTransactions) {
|
||||
|
|
Loading…
Reference in a new issue