Encrypt device name on account create, on first launch if needed
This commit is contained in:
parent
775e31c854
commit
47f834cf5c
10 changed files with 282 additions and 95 deletions
|
@ -31,5 +31,13 @@
|
|||
getDeviceName() {
|
||||
return textsecure.storage.get('device_name');
|
||||
},
|
||||
|
||||
setDeviceNameEncrypted() {
|
||||
return textsecure.storage.put('deviceNameEncrypted', true);
|
||||
},
|
||||
|
||||
getDeviceNameEncrypted() {
|
||||
return textsecure.storage.get('deviceNameEncrypted');
|
||||
},
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue