Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13995060
D16658.id40099.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.id40099.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,10 @@
->truncateString(
$message_transaction->getComment()->getContent()));
}
+ if ($action_transaction) {
+ $message_title = sprintf('%s',
+ strip_tags($action_transaction->getTitle()));
+ }
}
switch ($subtitle_mode) {
case 'recent':
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 24, 10:24 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6746319
Default Alt Text
D16658.id40099.diff (1 KB)
Attached To
Mode
D16658: Return more transaction types in Conpherence notification menu
Attached
Detach File
Event Timeline
Log In to Comment