mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
fix: format
This commit is contained in:
parent
99ff2098fb
commit
bfb55b4525
@ -88,7 +88,8 @@ extension LocalizedBody on Event {
|
||||
Future<MatrixFile> downloadAndDecryptAttachmentCached(
|
||||
{bool getThumbnail = false}) async {
|
||||
final mxcUrl = attachmentOrThumbnailMxcUrl(getThumbnail: getThumbnail);
|
||||
_downloadAndDecryptFutures[mxcUrl.toString()] ??= downloadAndDecryptAttachment(
|
||||
_downloadAndDecryptFutures[mxcUrl.toString()] ??=
|
||||
downloadAndDecryptAttachment(
|
||||
getThumbnail: getThumbnail,
|
||||
downloadCallback: (Uri url) async {
|
||||
final file = await DefaultCacheManager().getSingleFile(url.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user