-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Panic Code: clear all secret chats with specific passcode #1398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I just updated the PR to use version 3.6.1 |
@DrKLO , any chance for merge or feature import? if not, I'll close it 😞 |
Nice feature |
Great idea! |
I like this idea, but in my eyes the panic code should also unlock the app. |
@chtisgit the idea was that if the app is locked, then you type this code that deletes everything but keeps the app locked. then you decide if you'd like to show/type the right pin and unlock it or keep it locked while all local history is removed. however, I can make this panic code an unlocker code as well. I just don't see that how this feature will be merged, it was opened a year ago and there is still no response from @DrKLO |
@tfoldi I actually didn't look at the year and thought you did this a few days ago... |
Beautiful idea, and great feature! |
Kod kelishi sekin va natoģri |
With this patch one can specify a special
panic code
that clears all secret chats history (both locally and remotely). This is pretty useful if you're forced to unlock your application since you can remove all proofs before things are getting hot.How does it work?
Panic Code can be set in Passcode Lock menu under settings. If Panic Code is enabled and you use that code instead of pass code then all secret chats are cleared. Panic Code does not unlock the application, you still have to use your existing passcode.
Technical stuff
I added a new dialog type to
PasscodeActivity
withtype==3
. That will reuse the existing passcode UI elements.Please let me know if I need to change anything to get this PR approved. Thx.