ssb: Only print broadcast failures once.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m33s

This commit is contained in:
2025-06-16 22:26:23 -04:00
parent 31d0a5c233
commit a15b916b06
2 changed files with 53 additions and 8 deletions

View File

@ -5,8 +5,10 @@ async function main() {
}
tfrpc.register(async function complete() {
if (core.user?.credentials?.permissions?.administration &&
(await core.globalSettingsGet('index')) == '/~core/intro/') {
if (
core.user?.credentials?.permissions?.administration &&
(await core.globalSettingsGet('index')) == '/~core/intro/'
) {
return await core.globalSettingsSet('index', '/~core/ssb/');
}
});