aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_status/lib')
-rw-r--r--apps/user_status/lib/ContactsMenu/StatusProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/user_status/lib/ContactsMenu/StatusProvider.php b/apps/user_status/lib/ContactsMenu/StatusProvider.php
index 3c37d6b080f..f1316f02df8 100644
--- a/apps/user_status/lib/ContactsMenu/StatusProvider.php
+++ b/apps/user_status/lib/ContactsMenu/StatusProvider.php
@@ -44,6 +44,7 @@ class StatusProvider implements IBulkProvider {
);
$statuses = $this->statusService->findByUserIds($uids);
+ /** @var array<string, UserStatus> $indexed */
$indexed = array_combine(
array_map(fn(UserStatus $status) => $status->getUserId(), $statuses),
$statuses
@@ -56,6 +57,7 @@ class StatusProvider implements IBulkProvider {
$entry->setStatus(
$status->getStatus(),
$status->getCustomMessage(),
+ $status->getStatusMessageTimestamp(),
$status->getCustomIcon(),
);
}