summaryrefslogtreecommitdiffstats
path: root/lib/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Config.php')
-rw-r--r--lib/Config.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Config.php b/lib/Config.php
index 9c9119271..14882d0ae 100644
--- a/lib/Config.php
+++ b/lib/Config.php
@@ -202,7 +202,8 @@ class Config {
}
public function getAttachmentFolder(string $userId): string {
- return $this->config->getUserValue($userId, 'spreed', 'attachment_folder', '/Talk');
+ $defaultAttachmentFolder = $this->config->getAppValue('spreed', 'default_attachment_folder', '/Talk');
+ return $this->config->getUserValue($userId, 'spreed', 'attachment_folder', $defaultAttachmentFolder);
}
/**