diff --git a/js/signal_protocol_store.js b/js/signal_protocol_store.js index 9359d3fa..9e6351c9 100644 --- a/js/signal_protocol_store.js +++ b/js/signal_protocol_store.js @@ -251,7 +251,7 @@ var session = new Session({id: encodedNumber}); session.fetch().then(function() { session.destroy().then(resolve); - }); + }).fail(resolve); }); }, removeAllSessions: function(number) {