summaryrefslogtreecommitdiffstats
path: root/fatcat/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat/sql.py')
-rw-r--r--fatcat/sql.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/fatcat/sql.py b/fatcat/sql.py
index 83c9e182..43b2c2aa 100644
--- a/fatcat/sql.py
+++ b/fatcat/sql.py
@@ -108,4 +108,8 @@ def accept_editgroup(eg):
# update edit group state
db.session.add(eg)
+ # no longer "active"
+ eg.editor.active_edit_group = None
+ db.session.add(eg.editor)
+
db.session.commit()