mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Conpherence - fix bad query from D12222
Summary: D12222 did an evil thing. This correctly scopes this to just the threads you are participating in and not all threads which then get filtered from policy later, super slowly... Test Plan: still 'works' and probably wont kill prod Reviewers: chad, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D12223
This commit is contained in:
parent
f75248de6f
commit
3cb5cac018
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ final class ConpherenceThreadSearchEngine
|
|||
array($this->requireViewer()->getPHID()));
|
||||
case 'messages':
|
||||
$this->setIsRooms(false);
|
||||
return $query;
|
||||
return $query->setParameter(
|
||||
'participantPHIDs',
|
||||
array($this->requireViewer()->getPHID()));
|
||||
}
|
||||
|
||||
return parent::buildSavedQueryFromBuiltin($query_key);
|
||||
|
|
Loading…
Reference in a new issue