summaryrefslogtreecommitdiff
path: root/ui/lib/store.js
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-11-29 14:29:12 -0500
committerKit La Touche <kit@transneptune.net>2024-11-29 14:41:06 -0500
commitd36efbb1378ca1d6bf3b3c20391d711c00da4761 (patch)
tree3ddfeaaf68cf39c6fdcf07aa97957cb8ff348765 /ui/lib/store.js
parent32a30bcf2140c8fbf1a739123d0378f17503efb0 (diff)
Rename and modify channels store
I tried to have a custom class for Channel objects, but Svelte's automatic proxy logic works only on bare objects, as far as I could tell. So that broke everything. I resorted to a function that would build the bare objects, but we still lack methods that I think would make life easier ("touch last read" etc).
Diffstat (limited to 'ui/lib/store.js')
-rw-r--r--ui/lib/store.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/lib/store.js b/ui/lib/store.js
index 3b20e05..47ebbc2 100644
--- a/ui/lib/store.js
+++ b/ui/lib/store.js
@@ -1,5 +1,5 @@
import { writable } from 'svelte/store';
-import { Channels } from '$lib/store/channels';
+import { Channels } from '$lib/store/channels.svelte.js';
import { Messages } from '$lib/store/messages.svelte.js';
import { Logins } from '$lib/store/logins';