mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Cleanup MessageContentProcessorTestV2.
This commit is contained in:
committed by
Greyson Parrelli
parent
a874efee4e
commit
36ef36be61
@@ -819,7 +819,7 @@ object DataMessageProcessor {
|
||||
val mentions: List<Mention> = getMentions(message.bodyRangesList)
|
||||
val sticker: Attachment? = getStickerAttachment(envelope.timestamp, message)
|
||||
val attachments: List<Attachment> = message.attachmentsList.toPointers()
|
||||
val messageRanges: BodyRangeList? = message.bodyRangesList.filter { it.hasStyle() }.toList().toBodyRangeList()
|
||||
val messageRanges: BodyRangeList? = if (message.bodyRangesCount > 0) message.bodyRangesList.filter { it.hasStyle() }.toList().toBodyRangeList() else null
|
||||
|
||||
handlePossibleExpirationUpdate(envelope, metadata, senderRecipient.id, threadRecipientId, groupId, message.expireTimer.seconds, receivedTime)
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ import java.util.concurrent.TimeUnit;
|
||||
@SuppressWarnings({ "OptionalGetWithoutIsPresent", "OptionalIsPresent" })
|
||||
public class MessageContentProcessor {
|
||||
|
||||
private static final String TAG = Log.tag(MessageContentProcessor.class);
|
||||
public static final String TAG = Log.tag(MessageContentProcessor.class);
|
||||
|
||||
private final Context context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user