Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-11 15:03:00 +0300
committerJoas Schilling <coding@schilljs.com>2022-03-11 15:03:15 +0300
commitbac2508d779cf325ca0ea27f770fb0f028354f7b (patch)
treef797ddfbbda21304353deee301e190a182e0852e /apps/user_status
parent3840abcd5802b0ec0fe667b84ab3bdc3a2b1f35c (diff)
Fix user status not resetting correctly after a call
Only happens when the user navigated away and came back, so the heartbeat updates the status to "Online + In a call" After that resetting away from "Away + In a call" does not match anymore and the previous status sticks Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/user_status')
-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 c7ad7afe322..5dd70e4ea5e 100644
--- a/apps/user_status/lib/Service/StatusService.php
+++ b/apps/user_status/lib/Service/StatusService.php
@@ -295,7 +295,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);