Prevent a group from being hidden when its renamed in roster.
This commit is contained in:
parent
750af45abe
commit
917f6fc3a5
|
@ -2710,8 +2710,8 @@ class RosterWindow:
|
||||||
for jid in gajim.contacts.get_jid_list(acc):
|
for jid in gajim.contacts.get_jid_list(acc):
|
||||||
contact = gajim.contacts.get_first_contact_from_jid(acc, jid)
|
contact = gajim.contacts.get_first_contact_from_jid(acc, jid)
|
||||||
if old_text in contact.groups:
|
if old_text in contact.groups:
|
||||||
self.remove_contact_from_groups(jid, acc, [old_text,])
|
|
||||||
self.add_contact_to_groups(jid, acc, [new_text,])
|
self.add_contact_to_groups(jid, acc, [new_text,])
|
||||||
|
self.remove_contact_from_groups(jid, acc, [old_text,])
|
||||||
|
|
||||||
def on_canceled():
|
def on_canceled():
|
||||||
if 'rename' in gajim.interface.instances:
|
if 'rename' in gajim.interface.instances:
|
||||||
|
|
Loading…
Reference in New Issue