Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-12-08 18:25:52 +0300
committerJoas Schilling <coding@schilljs.com>2020-12-10 13:47:05 +0300
commit50da7dac82b1171a5a8343b1d27642af3cebb675 (patch)
treeff639b692411f6f2325b02ff7a3779af31fecfe2 /lib/TInitialState.php
parent076f4261596f293f7c53dba86329ba0e354834a0 (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/TInitialState.php')
-rw-r--r--lib/TInitialState.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TInitialState.php b/lib/TInitialState.php
index 272d841b0..b07046267 100644
--- a/lib/TInitialState.php
+++ b/lib/TInitialState.php
@@ -89,7 +89,7 @@ trait TInitialState {
$this->initialStateService->provideInitialState(
'talk', 'read_status_privacy',
- (int) $this->serverConfig->getUserValue($user->getUID(), 'spreed', 'read_status_privacy', (string) Participant::PRIVACY_PUBLIC)
+ $this->talkConfig->getUserReadPrivacy($user->getUID())
);
$attachmentFolder = $this->talkConfig->getAttachmentFolder($user->getUID());