소스 검색

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) {