Be more lenient with quality matches when forwarding attachments.

This commit is contained in:
Greyson Parrelli
2024-03-19 14:49:56 -04:00
committed by Cody Henthorne
parent 7d5627b17b
commit d7ee9639fd
2 changed files with 6 additions and 8 deletions
@@ -1297,10 +1297,7 @@ class AttachmentTable(
return false
}
// If the potential match was sent using standard quality, we can re-use the file -- the new thing being high-quality can't make it any nicer
if (potentialMatchProperties.sentMediaQuality == SentMediaQuality.STANDARD.code) {
return true
}
return true
}
if (newProperties.sentMediaQuality != potentialMatchProperties.sentMediaQuality) {