diff options
author | Joas Schilling <coding@schilljs.com> | 2022-03-11 13:03:00 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-03-11 13:03:15 +0100 |
commit | bac2508d779cf325ca0ea27f770fb0f028354f7b (patch) | |
tree | f797ddfbbda21304353deee301e190a182e0852e /apps/user_status/lib | |
parent | 3840abcd5802b0ec0fe667b84ab3bdc3a2b1f35c (diff) | |
download | nextcloud-server-bac2508d779cf325ca0ea27f770fb0f028354f7b.tar.gz nextcloud-server-bac2508d779cf325ca0ea27f770fb0f028354f7b.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>
Diffstat (limited to 'apps/user_status/lib')
-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 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); |