summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-11 13:03:00 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-03-11 13:23:08 +0000
commit666a11bda3ad202cde49de3be4f183d338407f2c (patch)
tree2ab5a813fcbfe6c487acf45749a833181eda2f1d
parent0d3c19c6aa76c7479fbb4b3784ae20b5b7b7ed89 (diff)
downloadnextcloud-server-666a11bda3ad202cde49de3be4f183d338407f2c.tar.gz
nextcloud-server-666a11bda3ad202cde49de3be4f183d338407f2c.zip
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>
-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);