Commit e8718ec3 authored by JC Brand's avatar JC Brand

Bugfix. Make sure group gets inserted

when it's created due to a new contact being added.

Was previously in the wrong place.
parent 1029aae2
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -845,7 +845,6 @@ ...@@ -845,7 +845,6 @@
onContactAdded (contact) { onContactAdded (contact) {
this.addRosterContact(contact).update(); this.addRosterContact(contact).update();
this.updateFilter(); this.updateFilter();
this.sortAndPositionAllItems();
}, },
onContactChange (contact) { onContactChange (contact) {
...@@ -895,6 +894,7 @@ ...@@ -895,6 +894,7 @@
addContactToGroup (contact, name, options) { addContactToGroup (contact, name, options) {
this.getGroup(name).contacts.add(contact, options); this.getGroup(name).contacts.add(contact, options);
this.sortAndPositionAllItems();
}, },
addExistingContact (contact, options) { addExistingContact (contact, options) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment