mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 03:05:26 +00:00
Filter attachments except for LONG_TEXT when receiving an EditMessage.
This commit is contained in:
committed by
Cody Henthorne
parent
a430e9b3d3
commit
518bf04e1d
@@ -136,8 +136,7 @@ object EditMessageProcessor {
|
||||
} else {
|
||||
null
|
||||
}
|
||||
val attachments = message.attachments.toPointersWithinLimit()
|
||||
attachments.filter {
|
||||
val attachments = message.attachments.toPointersWithinLimit().filter {
|
||||
MediaUtil.SlideType.LONG_TEXT == MediaUtil.getSlideTypeFromContentType(it.contentType)
|
||||
}
|
||||
val mediaMessage = IncomingMessage(
|
||||
|
||||
Reference in New Issue
Block a user