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
+4 -2
View File
@@ -146,13 +146,15 @@ func AmSetGlobalProperty(ctx context.Context, index int32, value string) error {
_, updateMode := globalProps[index]
if !updateMode {
row := amdb.QueryRowContext(ctx, "SELECT data FROM propglobal WHERE ndx = ?", index)
switch row.Err() {
var tmpdata string
err := row.Scan(&tmpdata)
switch err {
case nil:
updateMode = true
case sql.ErrNoRows:
updateMode = false
default:
return row.Err()
return err
}
}
var err error = nil