mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
Fix !unsubscribe
in Differential
Summary: Fixes T5682. Test Plan: Will test... Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T5682 Differential Revision: https://secure.phabricator.com/D10013
This commit is contained in:
parent
d034be2895
commit
1649cf94f4
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ class DifferentialReplyHandler extends PhabricatorMailReplyHandler {
|
||||||
switch ($command) {
|
switch ($command) {
|
||||||
case 'unsubscribe':
|
case 'unsubscribe':
|
||||||
id(new PhabricatorSubscriptionsEditor())
|
id(new PhabricatorSubscriptionsEditor())
|
||||||
|
->setActor($actor)
|
||||||
->setObject($this->getMailReceiver())
|
->setObject($this->getMailReceiver())
|
||||||
->unsubscribe(array($actor->getPHID()))
|
->unsubscribe(array($actor->getPHID()))
|
||||||
->save();
|
->save();
|
||||||
|
|
Loading…
Reference in a new issue