Explorar o código

fix: pinned chat delete issue

Timothy J. Baek hai 10 meses
pai
achega
f6dcffab13
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/lib/components/layout/Sidebar.svelte

+ 1 - 0
src/lib/components/layout/Sidebar.svelte

@@ -186,6 +186,7 @@
 				goto('/');
 			}
 			await chats.set(await getChatList(localStorage.token));
+			await pinnedChats.set(await getChatListByTagName(localStorage.token, 'pinned'));
 		}
 	};
 </script>