Page MenuHomePhorge

D25191.1734827786.diff
No OneTemporary

D25191.1734827786.diff

diff --git a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
--- a/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
+++ b/src/applications/transactions/storage/PhabricatorApplicationTransaction.php
@@ -1033,12 +1033,22 @@
count($rem),
$this->renderSubscriberList($rem, 'rem'));
} else if ($add) {
+ if ($this->isSelfSubscription()) {
+ return pht(
+ '%s subscribed.',
+ $this->renderHandleLink($author_phid));
+ }
return pht(
'%s added %d subscriber(s): %s.',
$this->renderHandleLink($author_phid),
count($add),
$this->renderSubscriberList($add, 'add'));
} else if ($rem) {
+ if ($this->isSelfSubscription()) {
+ return pht(
+ '%s unsubscribed.',
+ $this->renderHandleLink($author_phid));
+ }
return pht(
'%s removed %d subscriber(s): %s.',
$this->renderHandleLink($author_phid),

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 00:36 (20 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1025156
Default Alt Text
D25191.1734827786.diff (1 KB)

Event Timeline