draft: Only auto-restore drafts edited since adding the feature.

This commit is contained in:
evykassirer
2024-03-29 20:59:19 -07:00
committed by Tim Abbott
parent 43120709f7
commit 2c2dfa4c3d
4 changed files with 33 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ mock_esm("../src/reload_state", {
mock_esm("../src/drafts", {
update_draft: noop,
update_compose_draft_count: noop,
get_last_draft_based_on_compose_state: noop,
get_last_restorable_draft_based_on_compose_state: noop,
});
mock_esm("../src/unread_ops", {
notify_server_message_read: noop,