diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index 0e8b87c..35b1b19 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -1038,15 +1038,17 @@ export function SettingsModal(props: SettingsModalProps) {
- +

- Delete undecrypted packets older than the specified days. This helps manage - storage for packets that couldn't be decrypted (unknown channel keys). + Permanently deletes stored raw packets containing DMs and channel messages that + have not yet been decrypted. These packets are retained in case you later obtain + the correct key — once deleted, these messages can never be recovered or + decrypted.

-
@@ -1067,21 +1074,24 @@ export function SettingsModal(props: SettingsModalProps) {
- +

- Deletes raw packet bytes for messages already stored in chat history. No displayed - message data is lost. Only use this if you do not plan to run manual analytics or - parsing on original packet bytes. + Deletes archival copies of raw packet bytes for messages that are already + decrypted and visible in your chat history.{' '} + + This will not affect any displayed messages or app functionality. + {' '} + The raw bytes are only useful for manual packet analysis.

diff --git a/frontend/src/test/settingsModal.test.tsx b/frontend/src/test/settingsModal.test.tsx index 27200ce..22fd424 100644 --- a/frontend/src/test/settingsModal.test.tsx +++ b/frontend/src/test/settingsModal.test.tsx @@ -331,7 +331,7 @@ describe('SettingsModal', () => { renderModal(); openDatabaseSection(); - fireEvent.click(screen.getByRole('button', { name: 'Purge Decrypted Raw Packets' })); + fireEvent.click(screen.getByRole('button', { name: 'Purge Archival Raw Packets' })); await waitFor(() => { expect(runMaintenanceSpy).toHaveBeenCalledWith({ purgeLinkedRawPackets: true });