-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Milestone
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Could be related to #31192 but not really sure. The way the deletion works seems unchanged.
When the bug happens, there are 2 status set for the user:
| User | MessageId | Status | IsBackup |
|---|---|---|---|
| _admin | null | online | 1 |
| admin | call | online | 0 |
The problem is that on the call row the status is already "Online" and not away" as expected, which is why the deletion in
| $deleted = $this->mapper->deleteCurrentStatusToRestoreBackup($userId, $messageId ?? '', $status); |
doesn't work anymore.
But this was also the case before #31192
server/apps/user_status/lib/Service/StatusService.php
Lines 473 to 476 in 17db07c
| if ($userStatus->getMessageId() !== $messageId || $userStatus->getStatus() !== $status) { | |
| // Another status is set automatically, do nothing | |
| return; | |
| } |
The question is why the status is not away but online already. Any ideas when this would be updated?
Steps to reproduce
- Start a call in talk
- See your status being set to "Away + In a call"
- Leave the call
- See your status is "Online + In a call"
Expected behavior
Status is reset back to "Online"
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
No response
List of activated Apps
N/ANextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response