summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-03-11 18:24:48 +0100
committerGitHub <noreply@github.com>2022-03-11 18:24:48 +0100
commitf8c7827bfb3bdaaf22994c673c63339624148649 (patch)
tree2ab5a813fcbfe6c487acf45749a833181eda2f1d
parent0d3c19c6aa76c7479fbb4b3784ae20b5b7b7ed89 (diff)
parent666a11bda3ad202cde49de3be4f183d338407f2c (diff)
downloadnextcloud-server-f8c7827bfb3bdaaf22994c673c63339624148649.tar.gz
nextcloud-server-f8c7827bfb3bdaaf22994c673c63339624148649.zip
Merge pull request #31543 from nextcloud/backport/31539/stable23
[stable23] Fix user status not resetting correctly after a call
-rw-r--r--apps/user_status/lib/Service/StatusService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_status/lib/Service/StatusService.php b/apps/user_status/lib/Service/StatusService.php
index eb481240094..efe05e10395 100644
--- a/apps/user_status/lib/Service/StatusService.php
+++ b/apps/user_status/lib/Service/StatusService.php
@@ -294,7 +294,7 @@ class StatusService {
$userStatus->setStatus($status);
$userStatus->setStatusTimestamp($this->timeFactory->getTime());
- $userStatus->setIsUserDefined(false);
+ $userStatus->setIsUserDefined(true);
$userStatus->setIsBackup(false);
$userStatus->setMessageId($messageId);
$userStatus->setCustomIcon(null);