From 63e06dada92b9c2c711fd1298a44328cb6f4350f Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Thu, 10 Oct 2024 22:05:04 -0300 Subject: [PATCH] ,, --- .../server/services/federation/infrastructure/matrix/Bridge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/server/services/federation/infrastructure/matrix/Bridge.ts b/apps/meteor/server/services/federation/infrastructure/matrix/Bridge.ts index b18c6f4d98653..bd30f23ed095a 100644 --- a/apps/meteor/server/services/federation/infrastructure/matrix/Bridge.ts +++ b/apps/meteor/server/services/federation/infrastructure/matrix/Bridge.ts @@ -489,7 +489,7 @@ export class MatrixBridge implements IFederationBridge { } public async getReadStreamForFileFromUrl(externalUserId: string, fileUrl: string): Promise { - const response = await fetch(this.convertMatrixUrlToHttp(externalUserId, fileUrl)); + const response = await fetch(await this.convertMatrixUrlToHttp(externalUserId, fileUrl)); if (!response.body) { throw new Error('Not able to download the file'); }