diff options
author | Joas Schilling <coding@schilljs.com> | 2022-03-11 13:03:00 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-03-11 13:23:08 +0000 |
commit | 666a11bda3ad202cde49de3be4f183d338407f2c (patch) | |
tree | 2ab5a813fcbfe6c487acf45749a833181eda2f1d | |
parent | 0d3c19c6aa76c7479fbb4b3784ae20b5b7b7ed89 (diff) | |
download | nextcloud-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.php | 2 |
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); |