diff --git a/src/customisations/models/IMediaEventContent.ts b/src/customisations/models/IMediaEventContent.ts
index 4cbe07dbd5..fb05d76a4d 100644
--- a/src/customisations/models/IMediaEventContent.ts
+++ b/src/customisations/models/IMediaEventContent.ts
@@ -21,7 +21,7 @@ export interface IEncryptedFile {
mimetype?: string;
key: {
alg: string;
- key_ops: string[];
+ key_ops: string[]; // eslint-disable-line camelcase
kty: string;
k: string;
ext: boolean;
@@ -35,8 +35,8 @@ export interface IMediaEventContent {
url?: string; // required on unencrypted media
file?: IEncryptedFile; // required for *encrypted* media
info?: {
- thumbnail_url?: string;
- thumbnail_file?: IEncryptedFile;
+ thumbnail_url?: string; // eslint-disable-line camelcase
+ thumbnail_file?: IEncryptedFile; // eslint-disable-line camelcase
};
}
diff --git a/test/components/structures/GroupView-test.js b/test/components/structures/GroupView-test.js
index fb942d2f7c..ee5d1b6912 100644
--- a/test/components/structures/GroupView-test.js
+++ b/test/components/structures/GroupView-test.js
@@ -262,7 +262,8 @@ describe('GroupView', function() {
expect(longDescElement.innerHTML).toContain('
');
expect(longDescElement.innerHTML).toContain('- And lists!
');
- const imgSrc = "https://my.home.server/_matrix/media/r0/thumbnail/someimageurl?width=800&height=600";
+ const imgSrc = "https://my.home.server/_matrix/media/r0/thumbnail/someimageurl" +
+ "?width=800&height=600&method=scale";
expect(longDescElement.innerHTML).toContain('');
});