mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +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