mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
Merge branch 'soru/fix-e2ee-files' into 'main'
fix: e2ee files See merge request famedly/fluffychat!405
This commit is contained in:
commit
ab2cb4c893
@ -82,8 +82,8 @@ class _ImageBubbleState extends State<ImageBubble> {
|
|||||||
void initState() {
|
void initState() {
|
||||||
thumbnailUrl = widget.event
|
thumbnailUrl = widget.event
|
||||||
.getAttachmentUrl(getThumbnail: true, animated: true)
|
.getAttachmentUrl(getThumbnail: true, animated: true)
|
||||||
.toString();
|
?.toString();
|
||||||
attachmentUrl = widget.event.getAttachmentUrl(animated: true).toString();
|
attachmentUrl = widget.event.getAttachmentUrl(animated: true)?.toString();
|
||||||
if (thumbnailUrl == null) {
|
if (thumbnailUrl == null) {
|
||||||
_requestFile(getThumbnail: true);
|
_requestFile(getThumbnail: true);
|
||||||
}
|
}
|
||||||
@ -201,10 +201,10 @@ class _ImageBubbleState extends State<ImageBubble> {
|
|||||||
getThumbnail: true,
|
getThumbnail: true,
|
||||||
useThumbnailMxcUrl: true,
|
useThumbnailMxcUrl: true,
|
||||||
animated: true)
|
animated: true)
|
||||||
.toString();
|
?.toString();
|
||||||
attachmentUrl = widget.event
|
attachmentUrl = widget.event
|
||||||
.getAttachmentUrl(useThumbnailMxcUrl: true, animated: true)
|
.getAttachmentUrl(useThumbnailMxcUrl: true, animated: true)
|
||||||
.toString();
|
?.toString();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user