aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-13 09:53:28 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-11-13 09:53:28 +0100
commitfc1dd985c80a57f5de27721ba0054689f4dfcf1c (patch)
treeb9d7d330a7f6912faf169c97a3e7d9a63a2627d7 /apps/user_status/lib
parent36d370b2163ac2a98dbecf2400eb1300025b79b2 (diff)
downloadnextcloud-server-fc1dd985c80a57f5de27721ba0054689f4dfcf1c.tar.gz
nextcloud-server-fc1dd985c80a57f5de27721ba0054689f4dfcf1c.zip
fix(userstatus): Do not override message timestamp for default messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/user_status/lib')
-rw-r--r--apps/user_status/lib/Service/StatusService.php1
1 files changed, 0 insertions, 1 deletions
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());
}
}