fix: return debounced save in deleteMessage
| @@ -1520,7 +1520,7 @@ export async function deleteMessage(id, swipeDeletionIndex = undefined, askConfi | ||
| 1520 | 1520 | |
| 1521 | 1521 | const startIndex = [0, minId].includes(id) ? id : null; |
| 1522 | 1522 | updateViewMessageIds(startIndex); |
| 1523 | 1523 | await saveChatConditionalsaveChatDebounced(); |
| 1524 | 1524 | |
| 1525 | 1525 | if (this_edit_mes_id === id) { |
| 1526 | 1526 | this_edit_mes_id = undefined; |
| @@ -2781,6 +2781,8 @@ async function doMesCut(_, text) { | ||
| 2781 | 2781 | await deleteMessage(mesIDToCut, null, false); |
| 2782 | 2782 | } |
| 2783 | 2783 | |
| 2784 | + await saveChatConditional(); | |
| 2785 | + | |
| 2784 | 2786 | return cutText; |
| 2785 | 2787 | } |
| 2786 | 2788 | |