isUntrusted: Return false if firstUse is true
Because users will see this upon first trying to communicate with a new contact if they're quick about it. FREEBIE
This commit is contained in:
@@ -726,7 +726,8 @@
|
||||
var identityRecord = new IdentityRecord({id: identifier});
|
||||
identityRecord.fetch().then(function() {
|
||||
if (Date.now() - identityRecord.get('timestamp') < TIMESTAMP_THRESHOLD
|
||||
&& !identityRecord.get('nonblockingApproval')) {
|
||||
&& !identityRecord.get('nonblockingApproval')
|
||||
&& !identityRecord.get('firstUse')) {
|
||||
resolve(true);
|
||||
} else {
|
||||
resolve(false);
|
||||
|
Reference in New Issue
Block a user