Timothy Jaeryang Baek 2 months ago
parent
commit
bfd8c6b87e
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/lib/components/layout/Sidebar.svelte

+ 4 - 2
src/lib/components/layout/Sidebar.svelte

@@ -369,8 +369,10 @@
 				}
 			}
 
-			await initChannels();
-			await initChatList();
+			if (!value) {
+				await initChannels();
+				await initChatList();
+			}
 		});
 
 		chats.subscribe((value) => {