mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +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) {
|
||||
case 'unsubscribe':
|
||||
id(new PhabricatorSubscriptionsEditor())
|
||||
->setActor($actor)
|
||||
->setObject($this->getMailReceiver())
|
||||
->unsubscribe(array($actor->getPHID()))
|
||||
->save();
|
||||
|
|
Loading…
Reference in a new issue