Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15516463
D7912.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
833 B
Referenced Files
None
Subscribers
None
D7912.diff
View Options
Index: src/applications/differential/mail/DifferentialCommentMail.php
===================================================================
--- src/applications/differential/mail/DifferentialCommentMail.php
+++ src/applications/differential/mail/DifferentialCommentMail.php
@@ -56,7 +56,10 @@
break;
}
- if (strlen(trim($comment->getContent()))) {
+ $has_comment = strlen(trim($comment->getContent()));
+ $has_inlines = (bool)$this->getInlineComments();
+
+ if ($has_comment || $has_inlines) {
switch ($action) {
case DifferentialAction::ACTION_CLOSE:
// Commit comments are auto-generated and not especially interesting,
@@ -68,6 +71,10 @@
}
}
+ if (!$tags) {
+ $tags[] = MetaMTANotificationType::TYPE_DIFFERENTIAL_OTHER;
+ }
+
return $tags;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 19, 7:05 PM (4 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7348053
Default Alt Text
D7912.diff (833 B)
Attached To
Mode
D7912: Fix two edge case issues with Differential mail tags
Attached
Detach File
Event Timeline
Log In to Comment