mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
Process slowvote description as remarkup (link images, activate mentions, etc)
Summary: Fixes T10361. Test Plan: - Created a poll with an embedded file and a mention of a task. - Verified file was attached properly. - Verified mention appeared on task. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10361 Differential Revision: https://secure.phabricator.com/D15277
This commit is contained in:
parent
14ce10c0c2
commit
53b963efdb
1 changed files with 14 additions and 1 deletions
|
@ -97,7 +97,20 @@ final class PhabricatorSlowvoteTransaction
|
|||
return parent::getTitle();
|
||||
}
|
||||
|
||||
public function getTitleForFeed() {
|
||||
public function getRemarkupBlocks() {
|
||||
$blocks = parent::getRemarkupBlocks();
|
||||
|
||||
$type = $this->getTransactionType();
|
||||
switch ($type) {
|
||||
case self::TYPE_DESCRIPTION:
|
||||
$blocks[] = $this->getNewValue();
|
||||
break;
|
||||
}
|
||||
|
||||
return $blocks;
|
||||
}
|
||||
|
||||
public function getTitleForFeed() {
|
||||
$author_phid = $this->getAuthorPHID();
|
||||
$object_phid = $this->getObjectPHID();
|
||||
|
||||
|
|
Loading…
Reference in a new issue