Encrypt device name on account create, on first launch if needed

This commit is contained in:
Scott Nonnenberg 2018-12-13 11:12:33 -08:00
parent 775e31c854
commit 47f834cf5c
10 changed files with 282 additions and 95 deletions

View file

@ -681,6 +681,7 @@
textsecure.storage.user.getDeviceId() != '1'
) {
window.getSyncRequest();
window.getAccountManager().maybeUpdateDeviceName();
}
const udSupportKey = 'hasRegisterSupportForUnauthenticatedDelivery';