Add "disableMediaSharing" config flag (default false)

This commit is contained in:
N-Pex 2025-04-23 17:19:35 +02:00
parent 8feec77e62
commit 8cee613625
3 changed files with 7 additions and 3 deletions

View file

@ -56,6 +56,7 @@ The app loads runtime configutation from the server at "./config.json" and merge
* **roomTypes** - Available room types. This affects what is shown on the /create route, as well as access to routes /createroom, /createchannel and /createfiledrop. It should be an array with possible values "group_chat", "channel" or "file_drop".
Defaults to all values, ["group_chat", "channel", "file_drop"].
* **disableMediaSharing** - Set this flag to true to disable voice messages and attachments.
### Sticker short codes - To enable sticker short codes, follow these steps:
* Run the "create sticker config" script using "npm run create-sticker-config <path-to-sticker-packs>"