diff --git a/src/applications/slowvote/controller/PhabricatorSlowvotePollController.php b/src/applications/slowvote/controller/PhabricatorSlowvotePollController.php index 28f5fb21a9..923d9f79d4 100644 --- a/src/applications/slowvote/controller/PhabricatorSlowvotePollController.php +++ b/src/applications/slowvote/controller/PhabricatorSlowvotePollController.php @@ -157,6 +157,7 @@ final class PhabricatorSlowvotePollController 'title' => 'V'.$poll->getID().' '.$poll->getQuestion(), 'device' => true, 'dust' => true, + 'pageObjects' => array($poll->getPHID()), )); } diff --git a/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php b/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php index 0b04b86bc5..4772ea7c5b 100644 --- a/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php +++ b/src/applications/slowvote/storage/PhabricatorSlowvotePoll.php @@ -6,7 +6,8 @@ final class PhabricatorSlowvotePoll extends PhabricatorSlowvoteDAO implements PhabricatorPolicyInterface, - PhabricatorSubscribableInterface { + PhabricatorSubscribableInterface, + PhabricatorTokenReceiverInterface { const RESPONSES_VISIBLE = 0; const RESPONSES_VOTERS = 1; @@ -111,4 +112,12 @@ final class PhabricatorSlowvotePoll extends PhabricatorSlowvoteDAO } +/* -( PhabricatorTokenReceiverInterface )---------------------------------- */ + + + public function getUsersToNotifyOfTokenGiven() { + return array($this->getAuthorPHID()); + } + + }