Browse Source

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

JC Brand 5 years ago
parent
commit
c6c65749bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/converse-rosterview.js

+ 1 - 1
src/converse-rosterview.js

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