Add comments
// FREEBIE
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user