mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 18:56:25 +00:00
Treat Subscribers as the same only if they have the same signing key
This commit is contained in:
parent
ef2430fd58
commit
89d5f877c1
@ -43,6 +43,8 @@ public final class Subscriber {
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
Subscriber that = (Subscriber) o;
|
||||
if (that.signingKey!=null && this.signingKey!=null)
|
||||
return signingKey.equals(that.signingKey);
|
||||
|
||||
return sid.equals(that.sid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user