Get rid of jszip and replace it with a custom library

This commit is contained in:
Jaiwanth 2021-06-23 11:58:50 +05:30
parent 36a69313cd
commit 438b9d4730
9 changed files with 377 additions and 102 deletions

View file

@ -105,7 +105,7 @@ for (const evType of ALL_RULE_TYPES) {
stateEventTileTypes[evType] = 'messages.TextualEvent';
}
export function getHandlerTile(ev: MatrixEvent) {
export function getHandlerTile(ev) {
const type = ev.getType();
// don't show verification requests we're not involved in,

View file

@ -84,12 +84,12 @@ export default class RoomHeader extends React.Component {
_exportConversationalHistory = async () => {
await exportConversationalHistory(
this.props.room,
exportFormats.LOGS,
exportFormats.HTML,
exportTypes.START_DATE,
{
startDate: parseInt(new Date("2021.05.20").getTime().toFixed(0)),
attachmentsIncluded: true,
maxSize: 3 * 1024 * 1024, // 3 MB
maxSize: 7 * 1024 * 1024, // 3 MB
},
);
}