Explorar o 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 %!s(int64=7) %!d(string=hai) anos
pai
achega
f8e7251569
Modificáronse 1 ficheiros con 1 adicións e 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) {