Request new keys (largely untested)
This commit is contained in:
parent
56433bd9af
commit
aec36468bc
4 changed files with 88 additions and 69 deletions
|
@ -17,11 +17,11 @@
|
|||
// Random shared utilities that are used only by chromium things
|
||||
|
||||
function registrationDone() {
|
||||
textsecure.storage.putUnencrypted("registration_done", "");
|
||||
localStorage.setItem("chromiumRegistrationDone", "");
|
||||
//TODO: Fix dirty hack:
|
||||
chrome.runtime.reload();
|
||||
}
|
||||
|
||||
function isRegistrationDone() {
|
||||
return textsecure.storage.getUnencrypted("registration_done") !== undefined;
|
||||
return localStorage.getItem("chromiumRegistrationDone") !== null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue