mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 12:46:47 +00:00
Fuzz GCM write timestmap by 10 seconds
// FREEBIE
This commit is contained in:
1 parent
0e1091e0ea
commit
82f88d04ad
1 file changed
+1
-1
@@ -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