]> source.dussan.org Git - nextcloud-server.git/commit
Fetch status in heartbeat controller only once 31850/head
authorCarl Schwan <carl@carlschwan.eu>
Tue, 5 Apr 2022 18:21:02 +0000 (20:21 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Thu, 7 Apr 2022 13:16:34 +0000 (15:16 +0200)
commit1dbe7dafe26f4a11af610f3ce0dea59c31227d78
treed3d23bb86d3b4434c19dd925a97a53db704c8871
parent9c84aa5870204a871024ca18b4994ed40defdd9b
Fetch status in heartbeat controller only once

Store the user status inside the event instead of fetching it again

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
apps/user_status/lib/Connector/UserStatus.php
apps/user_status/lib/Controller/HeartbeatController.php
apps/user_status/lib/Listener/UserLiveStatusListener.php
lib/public/User/Events/UserLiveStatusEvent.php