Show verified/keychange notifications when actually relevant
FREEBIE
This commit is contained in:
parent
3d445fe549
commit
20451cc827
6 changed files with 52 additions and 14 deletions
|
@ -315,10 +315,16 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var options = {
|
||||
viaSyncMessage: true,
|
||||
viaContactSync: ev.viaContactSync,
|
||||
key: key
|
||||
};
|
||||
|
||||
if (state === 'DEFAULT') {
|
||||
contact.setVerifiedDefault({viaSyncMessage: true, key: key});
|
||||
contact.setVerifiedDefault(options);
|
||||
} else if (state === 'VERIFIED') {
|
||||
contact.setVerified({viaSyncMessage: true, key: key});
|
||||
contact.setVerified(options);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue