1
0
Fork 0
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:
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();