Enable redirected media by default (#12142)
* Enable redirected media by default See https://github.com/matrix-org/matrix-js-sdk/pull/4007 * Update the tests * Update tests * Update end-to-end tests too * Update linkifier to use Media customisation endpoint * Fix tests for new js-sdk behaviour * Fix unchanged file * Fix linkifier * Fix lint
This commit is contained in:
parent
d1928079cc
commit
86b3564b54
3 changed files with 14 additions and 6 deletions
|
@ -49,7 +49,7 @@ const expectAvatar = async (cli: Client, e: Locator, avatarUrl: string): Promise
|
|||
const url = await cli.evaluate(
|
||||
(client, { avatarUrl, size, resizeMethod }) => {
|
||||
// eslint-disable-next-line no-restricted-properties
|
||||
return client.mxcUrlToHttp(avatarUrl, size, size, resizeMethod);
|
||||
return client.mxcUrlToHttp(avatarUrl, size, size, resizeMethod, false, true);
|
||||
},
|
||||
{ avatarUrl, size, resizeMethod: AVATAR_RESIZE_METHOD },
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue