57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
};
CX("window.fossil.config.chat.alerts = [\n");
for(i=0; i < sizeof(azBuiltins)/sizeof(azBuiltins[0]); ++i){
CX("%s%!j", i ? ", " : "", azBuiltins[i]);
}
#if 0
/*
** 2020-01-05 temporarily disabled until we decide whether we're
** going to keep configurable audio files or not. If we do, this
** code needs to check whether the [unversioned] table exists before
** querying it.
*/
db_prepare(&q, "SELECT 'uv/'||name FROM unversioned "
"WHERE content IS NOT NULL "
"AND (name LIKE 'alert-sounds/%%.wav' "
|
|
|
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
};
CX("window.fossil.config.chat.alerts = [\n");
for(i=0; i < sizeof(azBuiltins)/sizeof(azBuiltins[0]); ++i){
CX("%s%!j", i ? ", " : "", azBuiltins[i]);
}
#if 0
/*
** 2021-01-05 temporarily disabled until we decide whether we're
** going to keep configurable audio files or not. If we do, this
** code needs to check whether the [unversioned] table exists before
** querying it.
*/
db_prepare(&q, "SELECT 'uv/'||name FROM unversioned "
"WHERE content IS NOT NULL "
"AND (name LIKE 'alert-sounds/%%.wav' "
|