[bug] strict equality for address comparison
This commit is contained in:
parent
89e9b3e4e0
commit
a8b3631dc1
@ -206,7 +206,7 @@ export default class Services {
|
||||
for (const member of members) {
|
||||
for (const address of member.sp_addresses) {
|
||||
// For now, we ignore our own device address, although there might be use cases for having a secret with ourselves
|
||||
if (address == myAddress) continue;
|
||||
if (address === myAddress) continue;
|
||||
const sharedSecret = await this.getSecretForAddress(address);
|
||||
if (!sharedSecret) {
|
||||
unconnectedAddresses.push(address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user