diff options
author | Joas Schilling <coding@schilljs.com> | 2020-12-08 18:25:52 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-12-10 13:47:05 +0300 |
commit | 50da7dac82b1171a5a8343b1d27642af3cebb675 (patch) | |
tree | ff639b692411f6f2325b02ff7a3779af31fecfe2 /lib/Controller | |
parent | 076f4261596f293f7c53dba86329ba0e354834a0 (diff) |
Add a capability for the chat-read-status and the user setting
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/RoomController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 2d7a050e3..06d7e6334 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -199,7 +199,7 @@ class RoomController extends AEnvironmentAwareController { } $rooms = $this->manager->getRoomsForUser($this->userId, true); - $readPrivacy = (int) $this->config->getUserValue($this->userId, 'spreed', 'read_status_privacy', (string) Participant::PRIVACY_PUBLIC); + $readPrivacy = $this->talkConfig->getUserReadPrivacy($this->userId); if ($readPrivacy === Participant::PRIVACY_PUBLIC) { $roomIds = array_map(static function (Room $room) { return $room->getId(); |