Do a timestamp comparison on unregister events.

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2014-12-03 11:09:01 -08:00
parent ac96f906b3
commit b802994809
3 changed files with 36 additions and 6 deletions

View File

@@ -19,6 +19,9 @@ public class UnregisteredEvent {
@Min(1)
private int deviceId;
@JsonProperty
private long timestamp;
public String getRegistrationId() {
return registrationId;
}
@@ -30,4 +33,8 @@ public class UnregisteredEvent {
public int getDeviceId() {
return deviceId;
}
public long getTimestamp() {
return timestamp;
}
}