summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-04 23:05:36 +0200
committermathieui <mathieui@mathieui.net>2012-05-04 23:05:36 +0200
commit18ba25fa6bcbf1445cbedec6afb1b330480ab0d3 (patch)
treef65c73ee43309511b42e62a6a7f828a4df057974 /src
parent91ab569e52af2566dc1b1af0bd87444a4a1246d1 (diff)
downloadpoezio-18ba25fa6bcbf1445cbedec6afb1b330480ab0d3.tar.gz
poezio-18ba25fa6bcbf1445cbedec6afb1b330480ab0d3.tar.bz2
poezio-18ba25fa6bcbf1445cbedec6afb1b330480ab0d3.tar.xz
poezio-18ba25fa6bcbf1445cbedec6afb1b330480ab0d3.zip
Fix /groupmove
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py4
1 files changed, 2 insertions, 2 deletions
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):
"""