1
0
Fork 0
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:
epriestley 2014-07-22 07:32:16 -07:00
parent d034be2895
commit 1649cf94f4

View file

@ -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();