From 22269af2cadc28b4e7560324c68f2907976119f9 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 3 May 2018 18:10:12 -0700 Subject: [PATCH] Always use False for leave commit before joining new group. --- etiquette/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/objects.py b/etiquette/objects.py index c959138..0f9d127 100644 --- a/etiquette/objects.py +++ b/etiquette/objects.py @@ -198,7 +198,7 @@ class GroupableMixin: if self == group: raise ValueError('Cant join self') - self.leave_group(commit=commit) + self.leave_group(commit=False) group.add_child(self, commit=commit) @decorators.transaction