rosterview: use push instead of the non-existent append

This commit is contained in:
JC Brand 2019-12-18 12:06:32 +01:00
parent a246aef823
commit c6c65749bb

View File

@ -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));
},