Przeglądaj źródła

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 7 lat temu
rodzic
commit
f8e7251569
1 zmienionych plików z 1 dodań i 0 usunięć
  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) {