This commit is contained in:
Timothy J. Baek
2024-10-26 22:05:19 -07:00
parent effcbd6301
commit e35be175fc
+2 -2
View File
@@ -595,7 +595,7 @@
} }
if (!chat.pinned) { if (!chat.pinned) {
const res = await toggleChatPinnedStatusById(localStorage.token, id); const res = await toggleChatPinnedStatusById(localStorage.token, chat.id);
} }
initChatList(); initChatList();
@@ -681,7 +681,7 @@
} }
if (chat.pinned) { if (chat.pinned) {
const res = await toggleChatPinnedStatusById(localStorage.token, id); const res = await toggleChatPinnedStatusById(localStorage.token, chat, id);
} }
initChatList(); initChatList();