]> source.dussan.org Git - nextcloud-server.git/commit
Reset user status based on message ID only 33315/head
authorJoas Schilling <coding@schilljs.com>
Fri, 22 Jul 2022 09:02:37 +0000 (11:02 +0200)
committerJoas Schilling <coding@schilljs.com>
Fri, 22 Jul 2022 09:02:37 +0000 (11:02 +0200)
commit9a9db2802b56d63137122bfaf97da2cc8e11bc7d
tree49ad24aad42b4b1f68f77940eb3b2096140c8f86
parent7e05efd3529f39bf5480fd2d954d04b9c49ca301
Reset user status based on message ID only

Since some statuses (call) can occure with different status
(away and dnd) we need to reset only based on the message id.
But as it can not be set by the user this is still save and okay.

Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/user_status/lib/Connector/UserStatusProvider.php
apps/user_status/lib/Db/UserStatusMapper.php
apps/user_status/lib/Service/StatusService.php
apps/user_status/tests/Unit/Service/StatusServiceTest.php