Skip to content

Commit

Permalink
Fix default of media_store_path
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Nov 13, 2024
1 parent ff13788 commit be1e0f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/usage/configuration/config_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1834,7 +1834,7 @@ enable_media_repo: false
---
### `media_store_path`

*(string|null)* Directory where uploaded images and attachments are stored. Defaults to `null`.
*(string)* Directory where uploaded images and attachments are stored. Defaults to `"media_store"`.

Example configuration:
```yaml
Expand Down
4 changes: 2 additions & 2 deletions schemas/synapse-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1399,9 +1399,9 @@
"examples": [false]
},
"media_store_path": {
"type": ["string", "null"],
"type": "string",
"description": "Directory where uploaded images and attachments are stored.",
"default": null,
"default": "media_store",
"examples": ["DATADIR/media_store"]
},
"max_pending_media_uploads": {
Expand Down

0 comments on commit be1e0f3

Please sign in to comment.