Add comments
// FREEBIE
This commit is contained in:
parent
eb1cfe9b70
commit
2bdd0106e7
1 changed files with 4 additions and 0 deletions
|
@ -29,14 +29,18 @@
|
||||||
});
|
});
|
||||||
chrome.alarms.create('awake', {periodInMinutes: 1});
|
chrome.alarms.create('awake', {periodInMinutes: 1});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Close and reopen existing windows
|
||||||
var open = false;
|
var open = false;
|
||||||
chrome.app.window.getAll().forEach(function(appWindow) {
|
chrome.app.window.getAll().forEach(function(appWindow) {
|
||||||
open = true;
|
open = true;
|
||||||
appWindow.close();
|
appWindow.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// start a background worker for ecc
|
||||||
textsecure.protocol_wrapper.startWorker();
|
textsecure.protocol_wrapper.startWorker();
|
||||||
|
|
||||||
|
// load the initial set of conversations into memory
|
||||||
ConversationController.updateInbox();
|
ConversationController.updateInbox();
|
||||||
|
|
||||||
extension.onLaunched(function() {
|
extension.onLaunched(function() {
|
||||||
|
|
Loading…
Reference in a new issue