Emit post-login hydration events

This commit is contained in:
thePR0M3TH3AN committed 2026-01-29 12:40:50 -05:00
1 parent f46d90d1ae
commit 95dc380f54
3 files changed
+134 -29

No files matched your search

+24
View File
@@ -409,6 +409,30 @@ export default class ApplicationBootstrap {
}
}),
);
app.authEventUnsubscribes.push(
app.authService.on("blocksLoaded", (detail) => {
try {
app.handleBlocksLoaded(detail);
} catch (error) {
devLogger.warn(
"Failed to process blocks loaded event:",
error,
);
}
}),
);
app.authEventUnsubscribes.push(
app.authService.on("relaysLoaded", (detail) => {
try {
app.handleRelaysLoaded(detail);
} catch (error) {
devLogger.warn(
"Failed to process relays loaded event:",
error,
);
}
}),
);
app.commentThreadService =
this.services.commentThreadService ||