Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14038470
D16658.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
D16658.diff
View Options
diff --git a/src/applications/conpherence/storage/ConpherenceThread.php b/src/applications/conpherence/storage/ConpherenceThread.php
--- a/src/applications/conpherence/storage/ConpherenceThread.php
+++ b/src/applications/conpherence/storage/ConpherenceThread.php
@@ -284,11 +284,18 @@
$message_title = null;
if ($subtitle_mode == 'message') {
$message_transaction = null;
+ $action_transaction = null;
foreach ($transactions as $transaction) {
switch ($transaction->getTransactionType()) {
case PhabricatorTransactions::TYPE_COMMENT:
$message_transaction = $transaction;
- break 2;
+ break;
+ case ConpherenceTransaction::TYPE_TITLE:
+ case ConpherenceTransaction::TYPE_TOPIC:
+ case ConpherenceTransaction::TYPE_PICTURE:
+ case ConpherenceTransaction::TYPE_PARTICIPANTS:
+ $action_transaction = $transaction;
+ break;
default:
break;
}
@@ -303,6 +310,11 @@
->truncateString(
$message_transaction->getComment()->getContent()));
}
+ if ($action_transaction) {
+ $message_title = id(clone $action_transaction)
+ ->setRenderingTarget(PhabricatorApplicationTransaction::TARGET_TEXT)
+ ->getTitle();
+ }
}
switch ($subtitle_mode) {
case 'recent':
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 11, 11:47 PM (5 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6741864
Default Alt Text
D16658.diff (1 KB)
Attached To
Mode
D16658: Return more transaction types in Conpherence notification menu
Attached
Detach File
Event Timeline
Log In to Comment