Fix message id issue (#1530)

This commit is contained in:
WithoutPants 2021-06-24 10:50:51 +10:00 committed by GitHub
parent 0589df51cd
commit fd3c9153d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ export function makeCriteria(type: CriterionType = "none") {
case "name":
case "path":
case "checksum":
return new StringCriterion(
new MandatoryStringCriterionOption(type, type)
);
case "oshash":
return new StringCriterion(
new MandatoryStringCriterionOption("media_info.hash", type, type)