I found this problems, creating an issue for tracking them so it doesn't get forgotten, this has low priority but probably is easy to fix
it seems RPC api export_self_keys doesn't work at all? it does nothing according to my CI tests but the docs doesn't say anything about it being deprecated I think it should just be removed then?
another unused broken API: set_draft_vcard trying to use this api in a chat results in error: "Wrong viewtype for vCard: Text"
grepping Desktop code I only could find this comment mentioning it:
// treefit: I would like to use setDraftVcard here, but it requires a draft message, which we may now have:
// BackendRemote.rpc.setDraftVcard(accountId, msgId, contacts)
// and there is no way to create an empty draft message with the current api as far as I know
//
// why is this better? because we then only would need to ask to replace draft when there is a file
https://github.com/deltachat/deltachat-desktop/blob/3d67e496d563dafdc758b1909fa35fc5f44548d4/packages/frontend/src/components/dialogs/ViewProfile/menu.tsx#L214-L218
maybe this api should also just be removed until really needed?
I found this problems, creating an issue for tracking them so it doesn't get forgotten, this has low priority but probably is easy to fix
it seems RPC api
export_self_keysdoesn't work at all? it does nothing according to my CI tests but the docs doesn't say anything about it being deprecated I think it should just be removed then?another unused broken API:
set_draft_vcardtrying to use this api in a chat results in error: "Wrong viewtype for vCard: Text"grepping Desktop code I only could find this comment mentioning it:
// treefit: I would like to use setDraftVcard here, but it requires a draft message, which we may now have:
// BackendRemote.rpc.setDraftVcard(accountId, msgId, contacts)
// and there is no way to create an empty draft message with the current api as far as I know
//
// why is this better? because we then only would need to ask to replace draft when there is a file
https://github.com/deltachat/deltachat-desktop/blob/3d67e496d563dafdc758b1909fa35fc5f44548d4/packages/frontend/src/components/dialogs/ViewProfile/menu.tsx#L214-L218
maybe this api should also just be removed until really needed?