mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-26 23:23:17 +01:00
Do a timestamp comparison on unregister events.
// FREEBIE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user