conference sidebox is now filled in

This commit is contained in:
2026-01-26 16:11:05 -07:00
parent 0dd66709d9
commit c83ac65f7e
8 changed files with 43 additions and 21 deletions
+2 -1
View File
@@ -880,7 +880,8 @@ func AmCreateCommunity(ctx context.Context, name string, alias string, hostUid i
// validate alias does not already exist
row := tx.QueryRowContext(ctx, "SELECT commid FROM communities WHERE alias = ?", alias)
err := row.Err()
var tmpcid int32
err := row.Scan(&tmpcid)
if err != sql.ErrNoRows {
if err == nil {
err = errors.New("a community with that alias already exists")