This commit is contained in:
JC Brand 2017-06-23 20:18:57 +02:00
parent 36e078c9f6
commit 47cf5c1910

View File

@ -996,8 +996,7 @@
});
test_utils.openAndEnterChatRoom(_converse, 'lounge', 'localhost', 'dummy');
var view = _converse.chatboxviews.get('lounge@localhost');
view.close();
view.model.destroy(); // Manually calling this, otherwise we have to mock stanzas.
view.close(); // Hack, otherwise we have to mock stanzas.
var name = mock.cur_names[0];
var from_jid = name.replace(/ /g,'.').toLowerCase() + '@localhost';