-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
fix: Accept the deprecated 3 as an alias for 2 #3410
Conversation
@@ -384,7 +384,6 @@ | |||
android:layout_width="0dp" | |||
android:layout_height="48dp" | |||
android:entries="@array/pref_dc_certck_entries" | |||
android:entryValues="@array/pref_dc_certck_values" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was supposed to map "Accept invalid certificates" to 3. This didn't actually work, though, so the behavior doesn't actually change here.
did a PR fixing the documentation for the CFFI as well, deltachat/deltachat-core-rust#6176 |
To test the changes in this pull request, install this apk: |
so that we can sleep better, i created #3412 :) |
i agree, lesson learned. we should try harder to keep things stable for UI. we had a similar hickup with DC_QR_BACKUP2 recently. |
Merging since it fixes a crash |
fix #3408 by automatically changing a 3 to 2.
3 is a deprecated alias for 2, so all UIs now need to handle both values. I think it wasn't a good idea to deprecate 3 in the first place, but it's not worth it going back now.
I tested this PR like this:
imap_certificate_checks
is 2imap_certificate_checks
is 3imap_certificate_checks
is 2