summaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib/Dashboard/UserStatusWidget.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_status/lib/Dashboard/UserStatusWidget.php')
-rw-r--r--apps/user_status/lib/Dashboard/UserStatusWidget.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_status/lib/Dashboard/UserStatusWidget.php b/apps/user_status/lib/Dashboard/UserStatusWidget.php
index 5a89040dfa5..50cca725a55 100644
--- a/apps/user_status/lib/Dashboard/UserStatusWidget.php
+++ b/apps/user_status/lib/Dashboard/UserStatusWidget.php
@@ -152,7 +152,8 @@ class UserStatusWidget implements IAPIWidget, IIconWidget, IOptionWidget {
$this->service->findAllRecentStatusChanges($limit + 1, 0),
static function (UserStatus $status) use ($userId, $since): bool {
return $status->getUserId() !== $userId
- && ($since === null || $status->getStatusTimestamp() > (int) $since);
+ && ($since === null || $status->getStatusTimestamp() > (int) $since)
+ && !str_starts_with($status->getUserId(), "_");
}
),
0,