From 18ba25fa6bcbf1445cbedec6afb1b330480ab0d3 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 4 May 2012 23:05:36 +0200 Subject: Fix /groupmove --- src/tabs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tabs.py') diff --git a/src/tabs.py b/src/tabs.py index 40786577..86fedb33 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1878,7 +1878,7 @@ class RosterInfoTab(Tab): group_from = args[1] group_to = args[2] - contact = roster[jid.bare] + contact = roster[jid] if not contact: self.core.information(_('No such JID in roster'), 'Error') return @@ -1911,7 +1911,7 @@ class RosterInfoTab(Tab): name = contact.name subscription = contact.subscription if self.core.xmpp.update_roster(jid, name=name, groups=new_groups, subscription=subscription): - roster.edit_groups_of_contact(contact, new_groups) + roster.update_contact_groups(contact) def command_groupremove(self, args): """ -- cgit v1.2.3