mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Phame - add edge transaction implementations.
Summary: Fixes T8252. See T6403 for longer term fix. Test Plan: made a post with a task mention in it and it worked Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T8252 Differential Revision: https://secure.phabricator.com/D12926
This commit is contained in:
parent
1f54b95324
commit
8ff7222d0e
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,8 @@ final class PhamePostEditor
|
||||||
return $object->setBody($xaction->getNewValue());
|
return $object->setBody($xaction->getNewValue());
|
||||||
case PhamePostTransaction::TYPE_COMMENTS_WIDGET:
|
case PhamePostTransaction::TYPE_COMMENTS_WIDGET:
|
||||||
return $object->setCommentsWidget($xaction->getNewValue());
|
return $object->setCommentsWidget($xaction->getNewValue());
|
||||||
|
case PhabricatorTransactions::TYPE_EDGE:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::applyCustomInternalTransaction($object, $xaction);
|
return parent::applyCustomInternalTransaction($object, $xaction);
|
||||||
|
@ -78,6 +80,7 @@ final class PhamePostEditor
|
||||||
case PhamePostTransaction::TYPE_PHAME_TITLE:
|
case PhamePostTransaction::TYPE_PHAME_TITLE:
|
||||||
case PhamePostTransaction::TYPE_BODY:
|
case PhamePostTransaction::TYPE_BODY:
|
||||||
case PhamePostTransaction::TYPE_COMMENTS_WIDGET:
|
case PhamePostTransaction::TYPE_COMMENTS_WIDGET:
|
||||||
|
case PhabricatorTransactions::TYPE_EDGE:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue