Skip to content

User status not resetting correctly after a call #31532

@nickvergessen

Description

@nickvergessen

⚠️ 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
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

  1. Start a call in talk
  2. See your status being set to "Away + In a call"
  3. Leave the call
  4. 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/A

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions