mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Add verified updates and unverified banner.
This commit is contained in:
@@ -10,6 +10,7 @@ import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
public final class IdentityRecordList {
|
||||
@@ -145,4 +146,16 @@ public final class IdentityRecordList {
|
||||
System.currentTimeMillis() - identityRecord.getTimestamp() < untrustedWindowMillis;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
final IdentityRecordList that = (IdentityRecordList) o;
|
||||
return Objects.equals(identityRecords, that.identityRecords);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(identityRecords);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user