Page MenuHomePhabricator

D8710.id20660.diff
No OneTemporary

D8710.id20660.diff

diff --git a/src/applications/feed/worker/FeedPublisherHTTPWorker.php b/src/applications/feed/worker/FeedPublisherHTTPWorker.php
--- a/src/applications/feed/worker/FeedPublisherHTTPWorker.php
+++ b/src/applications/feed/worker/FeedPublisherHTTPWorker.php
@@ -13,6 +13,7 @@
'storyType' => $data->getStoryType(),
'storyData' => $data->getStoryData(),
'storyAuthorPHID' => $data->getAuthorPHID(),
+ 'storyText' => $story->renderText(),
'epoch' => $data->getEpoch(),
);
diff --git a/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php b/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
--- a/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
+++ b/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
@@ -48,7 +48,7 @@
strip_tags(
hsprintf(
'%s',
- $this->renderView()->render())));
+ $this->renderView()->getTitle())));
}
}
diff --git a/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php b/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
--- a/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
+++ b/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
@@ -70,7 +70,7 @@
strip_tags(
hsprintf(
'%s',
- $this->renderView()->render())));
+ $this->renderView()->getTitle())));
}
}
diff --git a/src/view/phui/PHUIFeedStoryView.php b/src/view/phui/PHUIFeedStoryView.php
--- a/src/view/phui/PHUIFeedStoryView.php
+++ b/src/view/phui/PHUIFeedStoryView.php
@@ -30,6 +30,10 @@
return $this;
}
+ public function getTitle() {
+ return $this->title;
+ }
+
public function setEpoch($epoch) {
$this->epoch = $epoch;
return $this;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 6:15 PM (4 h, 28 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6919346
Default Alt Text
D8710.id20660.diff (1 KB)

Event Timeline