mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-24 23:18:09 +01:00
Fuzz GCM write timestmap by 10 seconds
// FREEBIE
This commit is contained in:
@@ -73,7 +73,7 @@ public class FeedbackHandler implements Managed, Runnable {
|
||||
if (event.getRegistrationId().equals(device.get().getGcmId())) {
|
||||
logger.info("GCM Unregister GCM ID matches!");
|
||||
if (device.get().getPushTimestamp() == 0 ||
|
||||
event.getTimestamp() > device.get().getPushTimestamp())
|
||||
event.getTimestamp() > (device.get().getPushTimestamp() + TimeUnit.SECONDS.toMillis(10)))
|
||||
{
|
||||
logger.info("GCM Unregister Timestamp matches!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user