Cancel debounced chat save if regular save is performed

This commit is contained in:
Cohee
2025-02-25 21:38:24 +02:00
parent 5545a425ea
commit 422517ec93
2 changed files with 9 additions and 2 deletions

View File

@ -1048,7 +1048,7 @@ function registerReasoningAppEvents() {
if (contentUpdated) {
syncMesToSwipe();
await saveChatConditional();
saveChatDebounced();
// Find if a message already exists in DOM and must be updated
const messageRendered = document.querySelector(`.mes[mesid="${idx}"]`) !== null;