-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Allow to share contact as vCard #3830
Comments
@adbenitez
I would have expected there is a direct way to set draft.vCardContact but it seems that is not supported and that is why step 3 and 4 are neccessary? |
it is not select but to click a single one to be selected for sharing, sharing multiple at once (single vcard) is not supported atm
I think it is not necessary, just setting the file core should be able to recognize that this is a vcard and set the type to vcard, same happens if you attach a webxdc file or a gif image, core takes care to set the proper obvious view type, not sure if this works for draft tho, it would need to be fixed in core then |
this was already added in #3840 |
the main task here is allowing to share a contact as vcard, sending directly would simplify things greatly and avoid ugly or complex stagging, I think it is the best way to go for now and anyways sending vcard + text was already from the beginning a "nice to have", so it could come at a later point and is not strictly necessary for this issue |
True, but for drafts recognising vCards doesn't work currently, it's only fixed in not yet merged deltachat/deltachat-core-rust#5619. Though if you know the attachment is a vCard, |
BTW, note that core does not do this for drafts of all viewtypes. It does do it for webxdcs, but e.g. for images that are sent as files it does not, which is important: We recommend that users can send images as a “file” to preserve the original. |
with the new core API it is possible to share contacts as vcard, there should be an option in the attachment button called "Contact" on click the contact list view is opened, user select one contact that gets send as vcard using the make_vcard() JSON-RPC API
The text was updated successfully, but these errors were encountered: