diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-09-30 23:14:36 -0400 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-09-30 23:14:36 -0400 |
| commit | 01d995c731c296292cd3f1f9a4702eb96a0bf628 (patch) | |
| tree | a0bbe131a22afcf1b727a1769cfffe38cada0558 /hi-ui/src/routes | |
| parent | c0fead957c6433be1ddfbbe8a55276a4aa8fc4df (diff) | |
Absorb and display events
At least message-type ones, and at least without styling or memory-limit
concerns.
Diffstat (limited to 'hi-ui/src/routes')
| -rw-r--r-- | hi-ui/src/routes/+page.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hi-ui/src/routes/+page.svelte b/hi-ui/src/routes/+page.svelte index 6d60b0c..646665e 100644 --- a/hi-ui/src/routes/+page.svelte +++ b/hi-ui/src/routes/+page.svelte @@ -1,7 +1,7 @@ <script> import { onMount } from 'svelte'; - import { boot } from '../apiServer'; + import { boot, subscribeToEvents } from '../apiServer'; import { currentUser } from '../store'; import ActiveChannel from '../lib/ActiveChannel.svelte'; @@ -26,6 +26,7 @@ currentUser.update(() => ({ username: response.data.login.name, })); + subscribeToEvents(); break; case 401: currentUser.update(() => null); |
