-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: User status automation sets status to *Away* despite activity #41548
Comments
\OCA\UserStatus\Listener\UserLiveStatusListener::handle needs to be modified to update just the status to ONLINE if the user is online. |
Btw for me the availability DND also does not happen anymore. Not sure if that is the same cause, my assumption from the DB is yes:
|
Cleared my local status and set a conditional breakpoint for status=away. First trigger was at
|
It is related. #40615 set the status and creates a backup, but never reverts. There can only be one backup. If the availability DND automation tries to backup as well it fails. #41570 improves this bit so that calendar automation does revert again, so there is a backup slot for the availability DND automation. There is still a conflict if a user has an event happening into or inside unavailable times. Then either one or the other automation wins. @nickvergessen says this problem was also there for calls. That is why the availability DND automation resets call automation. We can do the same if availability DND is of higher priority than calendar automation. |
The Away bug is not reproducible if a user has no email set because Same thing happens if the user has no calendars. Steps to reproduce adjusted. |
This was it for me. Now I can reproduce locally and your PR fixes this angle at least. |
Bug description
#31177 should set user status to busy/in a meeting when there is an event and leave it untouched otherwise. But the online status is now always Away outside of events.
Steps to reproduce
Expected behavior
Show as Online
Installation method
None
Nextcloud Server version
28
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: