[MM-59543] Disallow use of file: protocol in the app, remove all references to it, add mattermost-desktop: protocol to read local files (#3095)

This commit is contained in:
Devin Binnie
2024-07-18 16:01:44 -04:00
committed by GitHub
parent 87b2f12663
commit 080e4bf727
41 changed files with 99 additions and 152 deletions

View File

@@ -60,6 +60,7 @@ const downloadsSchema = Joi.object<DownloadedItems>().pattern(
receivedBytes: Joi.number().min(0),
totalBytes: Joi.number().min(0),
bookmark: Joi.string(),
thumbnailData: Joi.string(),
});
const configDataSchemaV0 = Joi.object<ConfigV0>({