Revert "Remove global updateInbox method"
This reverts commit 1c70293bba
.
This broke tests by blocking the database deletion during test
setup.
This commit is contained in:
parent
87ce3241c8
commit
c167fc964d
2 changed files with 5 additions and 3 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
textsecure.protocol_wrapper.startWorker();
|
||||
|
||||
ConversationController.updateInbox();
|
||||
|
||||
extension.onLaunched(function() {
|
||||
storage.onready(function() {
|
||||
if (textsecure.registration.isDone()) {
|
||||
|
|
|
@ -37,9 +37,6 @@
|
|||
}
|
||||
}))();
|
||||
|
||||
// Load the initial set of models for the inbox.
|
||||
conversations.fetchActive();
|
||||
|
||||
window.getInboxCollection = function() {
|
||||
return inboxCollection;
|
||||
};
|
||||
|
@ -71,6 +68,9 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
updateInbox: function() {
|
||||
conversations.fetchActive();
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
|
Loading…
Add table
Reference in a new issue