Skip to content

Commit

Permalink
,,
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored and debdutdeb committed Oct 14, 2024
1 parent ab9800c commit 63e06da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export class MatrixBridge implements IFederationBridge {
}

public async getReadStreamForFileFromUrl(externalUserId: string, fileUrl: string): Promise<ReadableStream> {
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');
}
Expand Down

0 comments on commit 63e06da

Please sign in to comment.