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 vCard viewtype #5204

Closed
link2xt opened this issue Jan 21, 2024 · 0 comments · Fixed by #5536
Closed

Add vCard viewtype #5204

link2xt opened this issue Jan 21, 2024 · 0 comments · Fixed by #5536
Labels
discussion enhancement New feature or request

Comments

@link2xt
Copy link
Collaborator

link2xt commented Jan 21, 2024

Once we add import (#5202) and export (#5203) of vCards, we can use export function to generate vCard for a single contact and attach it to share contact instead of just setting a draft to email address and name (https://support.delta.chat/t/add-contact-as-vcard/277).

It should be possible to set viewtype for outgoing messages to special vCard type and receive it as such.

Messages with vCard viewtype will need additional API to get name, image and email address so it can be displayed in chat inline and used in confirmation dialog ("do you want to start chatting with ...?" or something like this). Maybe an indication of whether the key is attached is needed.

Details of the issue should be refined once #5202 and #5203 is implemented.

There is a jCard RFC which specifies how to represent the whole vCard in JSON. We likely don't need and want simple UI-focused API, adding it here for references so nobody proposes to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant