Add missing return
This commit is contained in:
parent
9e13694b21
commit
1e38262d69
@ -131,6 +131,7 @@ function parseHtmlMedia($, preview, client) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (Helper.config.disableMediaPreview) {
|
||||
reject();
|
||||
return;
|
||||
}
|
||||
|
||||
let foundMedia = false;
|
||||
|
Loading…
Reference in New Issue
Block a user