Remove config after unlink, clear db when linked with new number

This commit is contained in:
Scott Nonnenberg 2018-02-23 17:40:02 -08:00 committed by Scott Nonnenberg
parent fd056e1b4c
commit 9acb189650
No known key found for this signature in database
GPG key ID: 5F82280C35134661
7 changed files with 108 additions and 11 deletions

View file

@ -67,6 +67,10 @@
console.log('Failed to fetch from storage');
}).always(resolve);
});
},
reset: function() {
items.reset();
}
};
window.textsecure = window.textsecure || {};