diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php index cb44fdbb22..6484358d8a 100644 --- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php +++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php @@ -4,7 +4,8 @@ final class PhabricatorCalendarEvent extends PhabricatorCalendarDAO implements PhabricatorPolicyInterface, PhabricatorMarkupInterface, PhabricatorApplicationTransactionInterface, - PhabricatorSubscribableInterface { + PhabricatorSubscribableInterface, + PhabricatorTokenReceiverInterface { protected $name; protected $userPHID; @@ -234,4 +235,11 @@ final class PhabricatorCalendarEvent extends PhabricatorCalendarDAO public function shouldAllowSubscription($phid) { return true; } + +/* -( PhabricatorTokenReceiverInterface )---------------------------------- */ + + + public function getUsersToNotifyOfTokenGiven() { + return array($this->getUserPHID()); + } }