3 final class ConpherenceParticipantController
extends ConpherenceController
{
5 public function shouldAllowPublic() {
9 public function handleRequest(AphrontRequest
$request) {
10 $viewer = $request->getViewer();
12 $conpherence_id = $request->getURIData('id');
13 if (!$conpherence_id) {
14 return new Aphront404Response();
17 $conpherence = id(new ConpherenceThreadQuery())
19 ->withIDs(array($conpherence_id))
20 ->needParticipants(true)
24 return new Aphront404Response();
27 $uri = $this->getApplicationURI('update/'.$conpherence->getID().'/');
28 $content = id(new ConpherenceParticipantView())
29 ->setUser($this->getViewer())
30 ->setConpherence($conpherence)
33 $content = array('widgets' => $content);
35 return id(new AphrontAjaxResponse())->setContent($content);