Skip to content

Commit af7f009

Browse files
Add deprecation notice for 5.x users (#2904)
Show a modal on app startup informing users that Quiet 5.x is deprecated due to a security fix in 6.0 and they should upgrade. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 716b3c4 commit af7f009

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/desktop/src/renderer/containers/widgets/breakingChangesWarning/BreakingChangesWarning.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@ const BreakingChangesWarning = () => {
1515

1616
const title = 'Update available'
1717
const message =
18-
'Quiet’s next release makes joining communities faster and more reliable by letting people join when the owner is offline! 🎉 However, these changes are not backwards compatible, so you must re-install Quiet from tryquiet.org and re-create or re-join your community. 😥 This version of Quiet will no longer receive any updates or security fixes, so please re-install soon. We apologize for the inconvenience.'
18+
'Quiet 6.0 includes a security fix that is not backwards compatible, so you must re-install Quiet from tryquiet.org and re-create or re-join your community. This version of Quiet (5.x) will no longer receive any updates or security fixes, so please re-install soon. We apologize for the inconvenience.'
1919

2020
const updateAction = useCallback(() => {
2121
shell.openExternal(`${Site.MAIN_PAGE}#Downloads`)
2222
}, [])
2323

24+
useEffect(() => {
25+
modal.handleOpen() // Open modal once per app start
26+
}, [])
27+
2428
const updateButton = (
2529
<Button
2630
variant='contained'
@@ -35,7 +39,7 @@ const BreakingChangesWarning = () => {
3539
}}
3640
fullWidth
3741
>
38-
Install Quiet 2.x
42+
Install Quiet 6.x
3943
</Button>
4044
)
4145

0 commit comments

Comments
 (0)