feat: overview favourite response

This commit is contained in:
Timothy J. Baek
2024-09-22 02:53:38 +02:00
parent 768717aaf9
commit c346130774
3 changed files with 34 additions and 5 deletions
+4
View File
@@ -150,6 +150,7 @@
}
const showMessage = async (message) => {
const _chatId = JSON.parse(JSON.stringify($chatId));
let _messageId = JSON.parse(JSON.stringify(message.id));
let messageChildrenIds = history.messages[_messageId].childrenIds;
@@ -169,6 +170,9 @@
if (messageElement) {
messageElement.scrollIntoView({ behavior: 'smooth' });
}
await tick();
saveChatHandler(_chatId);
};
const chatEventHandler = async (event, cb) => {