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/Service | |
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/Service')
-rw-r--r-- | lib/Service/ParticipantService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php index af731d060..d5d59827d 100644 --- a/lib/Service/ParticipantService.php +++ b/lib/Service/ParticipantService.php @@ -245,7 +245,7 @@ class ParticipantService { foreach ($participants as $participant) { $readPrivacy = Participant::PRIVACY_PUBLIC; if ($participant['actorType'] === Attendee::ACTOR_USERS) { - $readPrivacy = (int) $this->serverConfig->getUserValue($participant['actorId'], 'spreed', 'read_status_privacy', (string) Participant::PRIVACY_PUBLIC); + $readPrivacy = $this->talkConfig->getUserReadPrivacy($participant['actorId']); } $attendee = new Attendee(); |