Finish JSON export implementation
This commit is contained in:
parent
4bfac11911
commit
112dfa2b96
6 changed files with 138 additions and 16 deletions
|
@ -84,12 +84,12 @@ export default class RoomHeader extends React.Component {
|
|||
_exportConversationalHistory = async () => {
|
||||
await exportConversationalHistory(
|
||||
this.props.room,
|
||||
exportFormats.HTML,
|
||||
exportFormats.JSON,
|
||||
exportTypes.START_DATE,
|
||||
{
|
||||
startDate: parseInt(new Date("2021.05.20").getTime().toFixed(0)),
|
||||
attachmentsIncluded: true,
|
||||
maxSize: 7 * 1024 * 1024, // 3 MB
|
||||
attachmentsIncluded: false,
|
||||
maxSize: 7 * 1024 * 1024, // 7 MB
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue