Add maxSizeAutoDownloads with default set to 10Mb

This commit is contained in:
N-Pex 2023-12-04 15:28:03 +01:00
parent 324ccd70b3
commit db517fbd9c
9 changed files with 12 additions and 8 deletions

View file

@ -38,7 +38,7 @@ export default {
const width = this.$refs.image.$el.clientWidth;
const height = (width * 9) / 16;
util
.getThumbnail(this.$matrix.matrixClient, this.event, width, height)
.getThumbnail(this.$matrix.matrixClient, this.event, this.$config, width, height)
.then((url) => {
const info = this.event.getContent().info;
// JPEGs use cover, PNG and GIF ect contain. This is because PNG and GIF are expected to