Files
Bence Ferdinandy cb6d302cca archive: pass account and store to archive function
The archive() function calls newHelper() which relies on
app.SelectedTabContent() to determine the current context. When called
from an OnClose callback after sending a reply with archive-on-reply
configured, the composer tab is already closed and the user may have
switched accounts, causing a crash.

Pass the account and store directly to archive() from the calling
context instead of querying the current UI state.

Changelog-fixed: Crash when switching accounts quickly after sending
 a reply with archive-on-reply enabled.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-02-09 14:50:56 +01:00
..
2026-01-07 11:07:34 +01:00
2025-12-20 18:06:30 +01:00
2026-02-09 14:46:27 +01:00