@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update Pholio to return Remarkup in Feed

Summary: Uses getRemarkupBodyForFeed instead

Test Plan: New Mock, Edit Mock, Inline comments.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T9825

Differential Revision: https://secure.phabricator.com/D14650

authored by

Chad Little and committed by
chad
274f115d 8d62ade7

+2 -9
+2 -9
src/applications/pholio/storage/PholioTransaction.php
··· 301 301 return parent::getTitleForFeed(); 302 302 } 303 303 304 - public function getBodyForFeed(PhabricatorFeedStory $story) { 304 + public function getRemarkupBodyForFeed(PhabricatorFeedStory $story) { 305 305 $text = null; 306 306 switch ($this->getTransactionType()) { 307 307 case self::TYPE_NAME: ··· 315 315 break; 316 316 } 317 317 318 - if ($text) { 319 - return phutil_escape_html_newlines( 320 - id(new PhutilUTF8StringTruncator()) 321 - ->setMaximumGlyphs(128) 322 - ->truncateString($text)); 323 - } 324 - 325 - return parent::getBodyForFeed($story); 318 + return $text; 326 319 } 327 320 328 321 public function hasChangeDetails() {