fix: message delete issue

This commit is contained in:
Timothy Jaeryang Baek 2025-06-02 23:25:38 +04:00
parent 0ebe35c571
commit 3da1802eec
2 changed files with 5 additions and 1 deletions

View File

@ -239,6 +239,8 @@
};
const showMessage = async (message) => {
await tick();
const _chatId = JSON.parse(JSON.stringify($chatId));
let _messageId = JSON.parse(JSON.stringify(message.id));

View File

@ -33,7 +33,9 @@
});
onDestroy(() => {
observer.disconnect();
if (observer) {
observer.disconnect();
}
if (intervalId) {
clearInterval(intervalId);