diff --git a/js/database.js b/js/database.js index 6ae4a5a9..6cecfbd7 100644 --- a/js/database.js +++ b/js/database.js @@ -205,7 +205,6 @@ migrate: function(transaction, next) { console.log('migration 12.0'); console.log('cleaning up expiring messages with no expires_at'); - var messages = transaction.objectStore('messages'); window.addEventListener('storage_ready', function() { var messages = new Whisper.MessageCollection(); messages.fetch({