diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-10-27 00:04:12 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-10-28 18:59:36 +0300 |
commit | 591cacd5194243388e7c82249a98fdc6c8dfed41 (patch) | |
tree | b69c70d380b5c72cc985d8618d82aa6776918e13 /docs | |
parent | 549d8902c6b86e80162a9fddb00fa03e66e6417b (diff) |
Make max GIF size configurable
Added app setting and capability "max-gif-size".
Added new import for @nextcloud/capabilities.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/capabilities.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/capabilities.md b/docs/capabilities.md index 03c878d7d..234362367 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -51,3 +51,6 @@ title: Capabilities * `force-mute` - "forceMute" signaling messages can be sent to mute other participants. * `conversation-v2` - The conversations API v2 is less load heavy and should be used by clients when available. Check the difference in the [Conversation API documentation](conversation.md). * `chat-reference-id` - an optional referenceId can be sent with a chat message to be able to identify it in parallel get requests to earlier fade out a temporary message + +## 11.0 +* `config => previews => max-gif-size` - Maximum size in bytes below which a GIF can be embedded directly in the page at render time. Bigger files will be rendered statically using the preview endpoint instead. Can be set with `occ config:app:set spreed max-gif-size --value=X` where X is the new value in bytes. Defaults to 3 MB. |