Bugfix. Wrong function signature

This commit is contained in:
JC Brand 2016-03-14 17:07:01 +00:00
parent 80c26e708c
commit eff2335624

View File

@ -358,7 +358,7 @@
});
};
converse.on('ready', onLogin);
converse.on('controlBoxOpened', function (chatbox) {
converse.on('controlBoxOpened', function (evt, chatbox) {
// Wrapped in anon method because at scan time, chatboxviews
// attr not set yet.
converse.chatboxviews.trimChats(chatbox);