From c81d3f5c0bc5e3c4830ca8b9ff7ad1f55cb571ce Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 7 Mar 2018 12:24:43 -0800 Subject: [PATCH] Allow ConversationController.load() to be called more than once --- js/conversation_controller.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/conversation_controller.js b/js/conversation_controller.js index cb47fc162e1..05620cd7591 100644 --- a/js/conversation_controller.js +++ b/js/conversation_controller.js @@ -166,9 +166,6 @@ }, load: function() { console.log('ConversationController: starting initial fetch'); - if (this._initialPromise) { - throw new Error('ConversationController.load() has already been called!'); - } this._initialPromise = new Promise(function(resolve, reject) { conversations.fetch().then(function() {