Fixup
This commit is contained in:
parent
36e078c9f6
commit
47cf5c1910
@ -996,8 +996,7 @@
|
|||||||
});
|
});
|
||||||
test_utils.openAndEnterChatRoom(_converse, 'lounge', 'localhost', 'dummy');
|
test_utils.openAndEnterChatRoom(_converse, 'lounge', 'localhost', 'dummy');
|
||||||
var view = _converse.chatboxviews.get('lounge@localhost');
|
var view = _converse.chatboxviews.get('lounge@localhost');
|
||||||
view.close();
|
view.close(); // Hack, otherwise we have to mock stanzas.
|
||||||
view.model.destroy(); // Manually calling this, otherwise we have to mock stanzas.
|
|
||||||
|
|
||||||
var name = mock.cur_names[0];
|
var name = mock.cur_names[0];
|
||||||
var from_jid = name.replace(/ /g,'.').toLowerCase() + '@localhost';
|
var from_jid = name.replace(/ /g,'.').toLowerCase() + '@localhost';
|
||||||
|
Loading…
Reference in New Issue
Block a user