mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Fix link previews not being treated as media message.
This commit is contained in:
@@ -71,7 +71,7 @@ object SignalServiceProtoUtil {
|
||||
get() = hasGroupContext && groupV2.hasSignedGroupChange
|
||||
|
||||
val DataMessage.isMediaMessage: Boolean
|
||||
get() = attachmentsList.isNotEmpty() || hasQuote() || contactList.isNotEmpty() || hasSticker() || bodyRangesList.isNotEmpty()
|
||||
get() = attachmentsList.isNotEmpty() || hasQuote() || contactList.isNotEmpty() || hasSticker() || bodyRangesList.isNotEmpty() || previewList.isNotEmpty()
|
||||
|
||||
val DataMessage.isEndSession: Boolean
|
||||
get() = flags and DataMessage.Flags.END_SESSION_VALUE != 0
|
||||
|
||||
Reference in New Issue
Block a user