fix: Send unencrypted thumbnails
There was just one toString() missing and this lead to a crash in the app because hive tries to store an URI.
This commit is contained in:
parent
04ff890670
commit
aeea0669d5
|
|
@ -1,3 +1,6 @@
|
||||||
|
## [0.3.5] - 28nd Aug 2021
|
||||||
|
- hotfix: Send unencrypted thumbnails
|
||||||
|
|
||||||
## [0.3.4] - 28nd Aug 2021
|
## [0.3.4] - 28nd Aug 2021
|
||||||
- fix: String.parseIdentifierIntoParts not working with unicode matrix.to links
|
- fix: String.parseIdentifierIntoParts not working with unicode matrix.to links
|
||||||
Some clients do not uri-encode the identifier for matrix.to links, so we must
|
Some clients do not uri-encode the identifier for matrix.to links, so we must
|
||||||
|
|
|
||||||
|
|
@ -689,7 +689,7 @@ class Room {
|
||||||
'info': {
|
'info': {
|
||||||
...file.info,
|
...file.info,
|
||||||
if (thumbnail != null && encryptedThumbnail == null)
|
if (thumbnail != null && encryptedThumbnail == null)
|
||||||
'thumbnail_url': thumbnailUploadResp,
|
'thumbnail_url': thumbnailUploadResp.toString(),
|
||||||
if (thumbnail != null && encryptedThumbnail != null)
|
if (thumbnail != null && encryptedThumbnail != null)
|
||||||
'thumbnail_file': {
|
'thumbnail_file': {
|
||||||
'url': thumbnailUploadResp.toString(),
|
'url': thumbnailUploadResp.toString(),
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
name: matrix
|
name: matrix
|
||||||
description: Matrix Dart SDK
|
description: Matrix Dart SDK
|
||||||
version: 0.3.4
|
version: 0.3.5
|
||||||
homepage: https://famedly.com
|
homepage: https://famedly.com
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue