瀏覽代碼

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 年之前
父節點
當前提交
f8e7251569
共有 1 個文件被更改,包括 1 次插入0 次删除
  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) {