feat: channel socket integration

This commit is contained in:
Timothy Jaeryang Baek committed 2024-12-22 19:40:01 -07:00
1 parent eaecd15e69
commit f1d21fc59a
13 files changed
+509 -31

No files matched your search

+3 -2
View File
@@ -17,7 +17,8 @@
scrollPaginationEnabled,
currentChatPage,
temporaryChatEnabled,
channels
channels,
socket
} from '$lib/stores';
import { onMount, getContext, tick, onDestroy } from 'svelte';
@@ -151,7 +152,7 @@
};
const initChannels = async () => {
channels.set(await getChannels(localStorage.token));
await channels.set(await getChannels(localStorage.token));
};
const initChatList = async () => {