fix
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user