Hide bubble for jumbomoji.

This commit is contained in:
Cody Henthorne
2022-01-06 13:36:58 -05:00
committed by Alex Hart
parent 4e67752850
commit 3922bfacf5
7 changed files with 63 additions and 7 deletions

View File

@@ -43,7 +43,7 @@ fun MessageRecord.isBorderless(context: Context): Boolean {
}
fun MessageRecord.hasNoBubble(context: Context): Boolean =
hasSticker() || isBorderless(context)
hasSticker() || isBorderless(context) || (isTextOnly(context) && isJumbomoji(context))
fun MessageRecord.hasOnlyThumbnail(context: Context): Boolean {
return hasThumbnail() &&