Skip to content
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

add profile on tap/scan QR code unconditionally #2196

Merged
merged 2 commits into from
Jun 2, 2024
Merged

Conversation

r10s
Copy link
Member

@r10s r10s commented Jun 1, 2024

when tap/scan QR code after hitting "Add Profile", things are fine, a new profile was added explictly.

however, when tap/scan QR code when a profile is just opened normally (in chatlist or chat),
we need to add an account and not use the existing one.

(we cannot just always create an account when entering the viewController as we want things as name and avatar being persisted when switching shortly to the browser to select another chatmail server)

counterpart of deltachat/deltachat-android#3112

when tap/scan QR code after hitting "Add Profile",
things are fine, a new profile was added explictly.

however, when tap/scan QR code when a profile is just opened
normally (in chatlist or chat),
we need to add an account and not use the existing one.

(we cannot just always create an account when entering the viewController
as we want things as name and avatar being persisted when switching
shortly to the browser to select another chatmail server)

counterpart of deltachat/deltachat-android#3112
@r10s r10s added the bug label Jun 1, 2024
@r10s r10s requested review from zeitschlag and adbenitez June 1, 2024 22:44
…(there is another confirmation later, but that is already on another screen and ppl may be wondering how to go back)
@r10s r10s merged commit a55bd00 into main Jun 2, 2024
1 check passed
@r10s r10s deleted the r10s/fix-adding-accounts branch June 2, 2024 12:43
@zeitschlag zeitschlag removed their request for review June 3, 2024 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants