From 238381a623b65ce22b70b78d37f3e8ac1128b1d8 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Fri, 10 Apr 2015 10:18:48 -0700 Subject: [PATCH] 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 --- .../conpherence/query/ConpherenceThreadQuery.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/applications/conpherence/query/ConpherenceThreadQuery.php b/src/applications/conpherence/query/ConpherenceThreadQuery.php index 00c2a21460..b5607c1061 100644 --- a/src/applications/conpherence/query/ConpherenceThreadQuery.php +++ b/src/applications/conpherence/query/ConpherenceThreadQuery.php @@ -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) {