kopia lustrzana https://github.com/ryukoposting/Signal-Android
Improve timer event generation from GV2 sync messages.
rodzic
73b453b0d4
commit
269a2e2990
|
@ -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);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue