Skip to content
Snippets Groups Projects
Commit 5e9d3c3f authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix rename group

parent f767324f
No related branches found
No related tags found
No related merge requests found
......@@ -169,9 +169,6 @@ def remove_group(self, group):
self.set_groups(item.jid, new_groups)
def rename_group(self, group, new_group):
if new_group in self._groups:
return
items = self._get_items_with_group(group)
for item in items:
new_groups = item.groups - set([group])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment