update roster on server when we modify the groups of a contact. Fixes #1972

This commit is contained in:
Yann Leboulanger 2006-07-19 11:26:02 +00:00
parent 957cfe7916
commit e4c03a8738
1 changed files with 2 additions and 0 deletions

View File

@ -3113,6 +3113,8 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
c_source.groups = [] c_source.groups = []
for g in c_dest.groups: for g in c_dest.groups:
c_source.groups.append(g) c_source.groups.append(g)
gajim.connections[account_source].update_contact(c_source.jid,
c_source.name, c_source.groups)
gajim.contacts.add_metacontact(account_dest, c_dest.jid, account_source, gajim.contacts.add_metacontact(account_dest, c_dest.jid, account_source,
c_source.jid) c_source.jid)
if was_big_brother: if was_big_brother: