From: Christoph Wurst Date: Mon, 13 Nov 2023 08:53:28 +0000 (+0100) Subject: fix(userstatus): Do not override message timestamp for default messages X-Git-Tag: v28.0.0beta3~29^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F41407%2Fhead;p=nextcloud-server.git fix(userstatus): Do not override message timestamp for default messages Signed-off-by: Christoph Wurst --- diff --git a/apps/user_status/lib/Service/StatusService.php b/apps/user_status/lib/Service/StatusService.php index 003c9aa849a..508d9287555 100644 --- a/apps/user_status/lib/Service/StatusService.php +++ b/apps/user_status/lib/Service/StatusService.php @@ -504,7 +504,6 @@ class StatusService { if ($predefinedMessage !== null) { $status->setCustomMessage($predefinedMessage['message']); $status->setCustomIcon($predefinedMessage['icon']); - $status->setStatusMessageTimestamp($this->timeFactory->now()->getTimestamp()); } }