From 06f650cf57fbf12fa0c417f3de3d948521eafb40 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Mon, 4 May 2020 09:33:10 +0200 Subject: [PATCH] Fix thumbnail quality and update e2ee --- lib/src/room.dart | 2 +- pubspec.lock | 6 +++--- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/src/room.dart b/lib/src/room.dart index 3be3291..fd8178c 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -480,7 +480,7 @@ class Room { bool waitUntilSent = false, int thumbnailMaxWidth = 800, int thumbnailMaxHeight = 600, - int thumbnailQuality = 50, + int thumbnailQuality = 10, }) async { Image fileImage; Image thumbnailImage; diff --git a/pubspec.lock b/pubspec.lock index 94c3e4e..9c3fd39 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -271,11 +271,11 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: b043fcc29031979dc65e5b08e10ebb9b8d2fae30 + ref: "1.x.y" + resolved-ref: "32edeff765369a7a77a0822f4b19302ca24a017b" url: "https://gitlab.com/famedly/libraries/matrix_file_e2ee.git" source: git - version: "1.0.2" + version: "1.0.3" meta: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index cf91ccd..bb00d5f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -21,7 +21,7 @@ dependencies: matrix_file_e2ee: git: url: https://gitlab.com/famedly/libraries/matrix_file_e2ee.git - #ref: 1.x.y + ref: 1.x.y dev_dependencies: test: ^1.0.0