update info stored on server when we move a contact from edit group window

This commit is contained in:
Yann Leboulanger 2005-08-01 19:33:22 +00:00
parent 9183b73766
commit 4d661b5042
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ class EditGroupsDialog:
def update_contact(self):
self.plugin.roster.remove_contact(self.user, self.account)
self.plugin.roster.add_contact_to_roster(self.user.jid, self.account)
gajim.connections[self.account].update_contact(self.user.jid,
self.user.name, self.user.groups)
def on_add_button_clicked(self, widget):
group = self.xml.get_widget('group_entry').get_text()