Explorar el Código

Make sure relevant roster group gets inserted when a new contact gets added

by calling `sortAndPositionAllItems`.

Particularly relevant to the "Pending Contacts" group.
JC Brand hace 7 años
padre
commit
f8e7251569
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/converse-rosterview.js

+ 1 - 0
src/converse-rosterview.js

@@ -845,6 +845,7 @@
                 onContactAdded (contact) {
                     this.addRosterContact(contact).update();
                     this.updateFilter();
+                    this.sortAndPositionAllItems();
                 },
 
                 onContactChange (contact) {