Compare commits

...

2 Commits

Author SHA1 Message Date
Michelle Tang 4bba533649 Bump version to 8.17.4 2026-07-02 14:24:17 -04:00
Greyson Parrelli a45cf2d33f Fix long-text attachments failing media constraint check when sending long messages. 2026-07-02 14:01:03 -04:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ val staticIps = Properties().apply { file("static-ips.properties").reader().use
staticIps.stringPropertyNames().forEach { rootProject.extra[it] = staticIps.getProperty(it) }
val canonicalVersionCode = 1713
val canonicalVersionName = "8.17.3"
val currentHotfixVersion = 0
val canonicalVersionName = "8.17.4"
val currentHotfixVersion = 1
val maxHotfixVersions = 100
// We don't want versions to ever end in 0 so that they don't conflict with nightly versions
@@ -74,7 +74,7 @@ public abstract class MediaConstraints {
(ContentTypeUtil.isImageType(contentType) && size <= getImageMaxSize() && isWithinBounds(context, uri)) ||
(ContentTypeUtil.isAudioType(contentType) && size <= getAudioMaxSize()) ||
(ContentTypeUtil.isVideoType(contentType) && size <= getVideoMaxSize()) ||
(ContentTypeUtil.isDocumentType(contentType) && size <= getDocumentMaxSize());
((ContentTypeUtil.isDocumentType(contentType) || ContentTypeUtil.isLongTextType(contentType)) && size <= getDocumentMaxSize());
} catch (IOException ioe) {
Log.w(TAG, "Failed to determine if media's constraints are satisfied.", ioe);
return false;