mirror of https://github.com/vector-im/riot-web
document UIFeature.ForceRoomExportParameters
Signed-off-by: Kerry Archibald <kerrya@element.io>pse-335/document-setting
parent
c6c1238cef
commit
6994b7d227
|
@ -241,3 +241,13 @@ Currently, the following UI feature flags are supported:
|
|||
* `UIFeature.roomHistorySettings` - Whether or not the room history settings are shown to the user.
|
||||
This should only be used if the room history visibility options are managed by the server.
|
||||
* `UIFeature.TimelineEnableRelativeDates` - Display relative date separators (eg: 'Today', 'Yesterday') in the timeline for recent messages. When false day dates will be used.
|
||||
* `UIFeature.ForceRoomExportParameters` - Override room export parameters. Accepts an object:
|
||||
```
|
||||
{
|
||||
range: 'Beginning' | 'Timeline' | 'LastNMessages',
|
||||
sizeMb: number,
|
||||
format: 'Html' | 'PlainText' | 'Json',
|
||||
numberOfMessages: number,
|
||||
includeAttachments: boolean,
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue