mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-08 13:52:58 +00:00
Emit post-login hydration events
This commit is contained in:
1 parent
f46d90d1ae
commit
95dc380f54
3 files changed
+134
-29
No files matched your search
@@ -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 ||
|
||||
|
||||
Reference in new issue
Block a user