summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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):
"""