Improve timer event generation from GV2 sync messages.
This commit is contained in:
parent
73b453b0d4
commit
269a2e2990
1 changed files with 13 additions and 6 deletions
|
@ -2002,10 +2002,17 @@ public final class MessageContentProcessor {
|
|||
}
|
||||
|
||||
private long handleSynchronizeSentExpirationUpdate(@NonNull SentTranscriptMessage message)
|
||||
throws MmsException, BadGroupIdException
|
||||
throws MmsException
|
||||
{
|
||||
log(message.getTimestamp(), "Synchronize sent expiration update.");
|
||||
|
||||
Optional<GroupId> groupId = getSyncMessageDestination(message).getGroupId();
|
||||
|
||||
if (groupId.isPresent() && groupId.get().isV2()) {
|
||||
warn(String.valueOf(message.getTimestamp()), "Expiration update received for GV2. Ignoring.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
MessageTable database = SignalDatabase.messages();
|
||||
Recipient recipient = getSyncMessageDestination(message);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue