mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +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 $ids;
|
||||||
private $participantPHIDs;
|
private $participantPHIDs;
|
||||||
private $isRoom;
|
private $isRoom;
|
||||||
|
private $needParticipants;
|
||||||
private $needWidgetData;
|
private $needWidgetData;
|
||||||
private $needTransactions;
|
private $needTransactions;
|
||||||
private $needParticipantCache;
|
private $needParticipantCache;
|
||||||
|
@ -27,6 +28,11 @@ final class ConpherenceThreadQuery
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function needParticipants($need) {
|
||||||
|
$this->needParticipants = $need;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
public function needWidgetData($need_widget_data) {
|
public function needWidgetData($need_widget_data) {
|
||||||
$this->needWidgetData = $need_widget_data;
|
$this->needWidgetData = $need_widget_data;
|
||||||
return $this;
|
return $this;
|
||||||
|
@ -98,7 +104,7 @@ final class ConpherenceThreadQuery
|
||||||
if ($this->needParticipantCache) {
|
if ($this->needParticipantCache) {
|
||||||
$this->loadCoreHandles($conpherences, 'getRecentParticipantPHIDs');
|
$this->loadCoreHandles($conpherences, 'getRecentParticipantPHIDs');
|
||||||
}
|
}
|
||||||
if ($this->needWidgetData) {
|
if ($this->needWidgetData || $this->needParticipants) {
|
||||||
$this->loadCoreHandles($conpherences, 'getParticipantPHIDs');
|
$this->loadCoreHandles($conpherences, 'getParticipantPHIDs');
|
||||||
}
|
}
|
||||||
if ($this->needTransactions) {
|
if ($this->needTransactions) {
|
||||||
|
|
Loading…
Reference in a new issue