@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make slowvotes tokeanble

Summary: gimmie dem tokens

Test Plan: {F50176}

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D6459

+11 -1
+1
src/applications/slowvote/controller/PhabricatorSlowvotePollController.php
··· 157 157 'title' => 'V'.$poll->getID().' '.$poll->getQuestion(), 158 158 'device' => true, 159 159 'dust' => true, 160 + 'pageObjects' => array($poll->getPHID()), 160 161 )); 161 162 } 162 163
+10 -1
src/applications/slowvote/storage/PhabricatorSlowvotePoll.php
··· 6 6 final class PhabricatorSlowvotePoll extends PhabricatorSlowvoteDAO 7 7 implements 8 8 PhabricatorPolicyInterface, 9 - PhabricatorSubscribableInterface { 9 + PhabricatorSubscribableInterface, 10 + PhabricatorTokenReceiverInterface { 10 11 11 12 const RESPONSES_VISIBLE = 0; 12 13 const RESPONSES_VOTERS = 1; ··· 108 109 109 110 public function isAutomaticallySubscribed($phid) { 110 111 return ($phid == $this->getAuthorPHID()); 112 + } 113 + 114 + 115 + /* -( PhabricatorTokenReceiverInterface )---------------------------------- */ 116 + 117 + 118 + public function getUsersToNotifyOfTokenGiven() { 119 + return array($this->getAuthorPHID()); 111 120 } 112 121 113 122