Page MenuHomePhabricator

D17806.diff
No OneTemporary

D17806.diff

diff --git a/src/applications/people/markup/PhabricatorMentionRemarkupRule.php b/src/applications/people/markup/PhabricatorMentionRemarkupRule.php
--- a/src/applications/people/markup/PhabricatorMentionRemarkupRule.php
+++ b/src/applications/people/markup/PhabricatorMentionRemarkupRule.php
@@ -150,7 +150,9 @@
$tag->addClass('phabricator-remarkup-mention-nopermission');
}
- if (!$user->isResponsive()) {
+ if ($user->getIsDisabled()) {
+ $tag->setDotColor(PHUITagView::COLOR_GREY);
+ } else if (!$user->isResponsive()) {
$tag->setDotColor(PHUITagView::COLOR_VIOLET);
} else {
if ($user->getAwayUntil()) {
diff --git a/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php b/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php
--- a/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php
+++ b/src/applications/people/phid/PhabricatorPeopleUserPHIDType.php
@@ -61,7 +61,9 @@
}
$availability = null;
- if (!$user->isResponsive()) {
+ if ($user->getIsDisabled()) {
+ $availability = PhabricatorObjectHandle::AVAILABILITY_DISABLED;
+ } else if (!$user->isResponsive()) {
$availability = PhabricatorObjectHandle::AVAILABILITY_NOEMAIL;
} else {
$until = $user->getAwayUntil();

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 3:23 AM (2 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385044
Default Alt Text
D17806.diff (1 KB)

Event Timeline