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
|
||||
- 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
|
||||
|
|
|
|||
|
|
@ -689,7 +689,7 @@ class Room {
|
|||
'info': {
|
||||
...file.info,
|
||||
if (thumbnail != null && encryptedThumbnail == null)
|
||||
'thumbnail_url': thumbnailUploadResp,
|
||||
'thumbnail_url': thumbnailUploadResp.toString(),
|
||||
if (thumbnail != null && encryptedThumbnail != null)
|
||||
'thumbnail_file': {
|
||||
'url': thumbnailUploadResp.toString(),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: matrix
|
||||
description: Matrix Dart SDK
|
||||
version: 0.3.4
|
||||
version: 0.3.5
|
||||
homepage: https://famedly.com
|
||||
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Reference in New Issue