Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: accept QR codes with 'broken' JSON (#6528)
this converts old QR codes to the new format, in an hacky, but simple way, see #6518 for more details and for code snippet then QR code change is esp. bad as ppl will have different versions for some days at least, weakening overall UX, esp. of first-time-users that may come to delta because of praised, seamless multidevice ... :) i tested in deltachat/deltachat-ios#2595 that this actually fixes the problem, and there is no deeper issue with changed chashes or so - seemed not to be the case, at least, with this hack, core accepts QR codes from the released 1.52-and-before series this hack gives user time to update, it can be removed after some months (we can also remove the old BACKUP qr code alltogether then) we should still not wait too long with the PR as there are already versions out with the "new/bad" QR code (and growing, as new iOS installations will get the new format, one cannot revert a version, only pause rollout) --------- Co-authored-by: link2xt <[email protected]>
- Loading branch information