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

Open i.delta.chat-links in App (#2134) #2295

Merged
merged 5 commits into from
Oct 11, 2024
Merged

Conversation

zeitschlag
Copy link
Collaborator

@zeitschlag zeitschlag commented Sep 3, 2024

When users tap on a i.delta.chat link in a chat (or in a user's signature), they can start a chat with that very user right away (instead of that Safari opens). Just like this:

IMG_F59507DB384E-1

Pressing on Cancel in that alert just closes the alert. No surprises here.
(The large number of lines comes from moving the QR-handling-code from QrPageController to AppCoordinator)

Closes #2134.

@zeitschlag zeitschlag changed the title [WIP] Open i.delta.chat-links in App [WIP] Open i.delta.chat-links in App (#2134) Sep 4, 2024
@zeitschlag zeitschlag self-assigned this Sep 4, 2024
@r10s r10s self-requested a review September 18, 2024 12:35
@r10s r10s force-pushed the 2134-open-invite-links-in-app branch from 2f7f444 to bc32b68 Compare October 7, 2024 14:12
Copy link
Member

@r10s r10s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beside the two comments that need targeting, works as expected!

thanks a lot for taking care!

nb: i rebased the PR

deltachat-ios/Helper/Utils.swift Outdated Show resolved Hide resolved
deltachat-ios/Chat/ChatViewController.swift Outdated Show resolved Hide resolved
@zeitschlag zeitschlag force-pushed the 2134-open-invite-links-in-app branch from bc32b68 to 2f7f444 Compare October 8, 2024 09:26
@zeitschlag zeitschlag force-pushed the 2134-open-invite-links-in-app branch from 2f7f444 to 59146d9 Compare October 9, 2024 08:25
Thanks to @r10s for pointing this out, I wasn't aware of the fact that core treats QR-code and invitation links equally)
@zeitschlag zeitschlag changed the title [WIP] Open i.delta.chat-links in App (#2134) Open i.delta.chat-links in App (#2134) Oct 9, 2024
@zeitschlag zeitschlag requested a review from r10s October 9, 2024 16:14
@zeitschlag zeitschlag marked this pull request as ready for review October 9, 2024 16:14
Copy link
Member

@r10s r10s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks a lot for diving in that!

@zeitschlag zeitschlag merged commit 8e9e6da into main Oct 11, 2024
1 check passed
@zeitschlag zeitschlag deleted the 2134-open-invite-links-in-app branch October 11, 2024 10:04
@zeitschlag zeitschlag added this to the 1.46.11 milestone Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

handle invite-links in-app
2 participants