Commit c6c65749 authored by JC Brand's avatar JC Brand

rosterview: use `push` instead of the non-existent `append`

parent a246aef8
......@@ -942,7 +942,7 @@ converse.plugins.add('converse-rosterview', {
groups = [_converse.HEADER_CURRENT_CONTACTS];
}
if (contact.get('num_unread')) {
groups.append(_converse.HEADER_UNREAD);
groups.push(_converse.HEADER_UNREAD);
}
groups.forEach(g => this.addContactToGroup(contact, g, options));
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment