rosterview: use push
instead of the non-existent append
This commit is contained in:
parent
a246aef823
commit
c6c65749bb
@ -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));
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user