Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14390216
D8710.id20660.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8710.id20660.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8710: Include storyText in feed POST data
Attached
Detach File
Event Timeline
Log In to Comment