mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-08 06:17:37 +01:00
Fix rules with group story replies and timers.
This commit is contained in:
committed by
Cody Henthorne
parent
0514a5c6c8
commit
3d05bc3471
@@ -330,6 +330,11 @@ object DataMessageProcessor {
|
||||
return null
|
||||
}
|
||||
|
||||
if (Recipient.resolved(threadRecipientId).isGroup) {
|
||||
warn(envelope.clientTimestamp!!, "Expiration update targeting a group recipient without group context. Ignoring.")
|
||||
return null
|
||||
}
|
||||
|
||||
if (SignalDatabase.recipients.getExpiresInSeconds(threadRecipientId) == expiresIn.inWholeSeconds) {
|
||||
log(envelope.clientTimestamp!!, "No change in message expiry for group. Ignoring.")
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user