1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-23 17:02:25 +03:00

Convert Room and RoomState to Typescript

This commit is contained in:
Michael Telatynski
2021-06-18 15:29:45 +01:00
parent 2c6858f149
commit 7aa5a79c86
9 changed files with 3149 additions and 3105 deletions

View File

@@ -39,7 +39,7 @@ export function getHttpUriForMxc(
width: number,
height: number,
resizeMethod: string,
allowDirectLinks: boolean,
allowDirectLinks = false,
): string {
if (typeof mxc !== "string" || !mxc) {
return '';