diff --git a/lib/pages/settings_emotes.dart b/lib/pages/settings_emotes.dart index a41659e7..ba3a38cc 100644 --- a/lib/pages/settings_emotes.dart +++ b/lib/pages/settings_emotes.dart @@ -214,9 +214,8 @@ class EmotesSettingsController extends State { } final uploadResp = await showFutureLoadingDialog( context: context, - future: () => Matrix.of(context) - .client - .uploadContent(file.bytes, filename: file.name), + future: () => Matrix.of(context).client.uploadContent(file.bytes, + filename: file.name, contentType: file.mimeType), ); if (uploadResp.error == null) { setState(() {