landed Delete Community

This commit is contained in:
2026-03-01 22:51:22 -07:00
parent 586cef7ad1
commit 18260c59f0
7 changed files with 116 additions and 3 deletions
+5
View File
@@ -937,6 +937,11 @@ func (*conferenceServiceVTable) OnDeleteCommunity(ctx context.Context, tx *sqlx.
if err != nil {
return err
}
// Delete any mention of this community from the conference hotlists.
_, err = tx.ExecContext(ctx, "DELETE FROM confhotlist WHERE commid = ?", commid)
if err != nil {
return err
}
for i, confid := range confids {
// any references to conference other than this community?
refCount := 0