Fix /groupmove
This commit is contained in:
parent
91ab569e52
commit
18ba25fa6b
1 changed files with 2 additions and 2 deletions
|
@ -1878,7 +1878,7 @@ class RosterInfoTab(Tab):
|
||||||
group_from = args[1]
|
group_from = args[1]
|
||||||
group_to = args[2]
|
group_to = args[2]
|
||||||
|
|
||||||
contact = roster[jid.bare]
|
contact = roster[jid]
|
||||||
if not contact:
|
if not contact:
|
||||||
self.core.information(_('No such JID in roster'), 'Error')
|
self.core.information(_('No such JID in roster'), 'Error')
|
||||||
return
|
return
|
||||||
|
@ -1911,7 +1911,7 @@ class RosterInfoTab(Tab):
|
||||||
name = contact.name
|
name = contact.name
|
||||||
subscription = contact.subscription
|
subscription = contact.subscription
|
||||||
if self.core.xmpp.update_roster(jid, name=name, groups=new_groups, subscription=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):
|
def command_groupremove(self, args):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue