How to move contacts (and chat history) from one profile to another?

Hello everyone,

I searched the forums, but couldn’t find anything similar to my question.

How can I move contacts (and the chat history) from one profile to another, so that the contact does not notice or does not have to be actively involved in the transfer?

I know I can create a new profile and make contact with the person I know from there, but then the person has me twice in their contact list (?), which always requires time and effort to explain what happened and what to do next. It also doesn’t transfer the chat history.

I’m open to go indirect ways. What comes to my mind is backing up the current profile and then restoring it in a new profile (on the same or a different device?), so I have two identical profiles. I can then selectively remove contacts from both profiles and change the relays in the new profile. It’s a kind of manually splitting a profile. Would that work?

Thank you for your help!

Hi!

I don’t think that there is a direct way to transfer all contacts. A tedious workaround is to share the contacts from the original profile to the new profile, via regular messaging.

That part is especially not possible because a new profile is a new contact.

This will not work because the second instance will be treated as your second device. The two profile instances will be getting synchronized.

I think you should clarify your use case, why is it that you want to leave your original profile.

Hi @WofWca ,

thank you for your reply and the information!

Yes, I will gladly do.

At first, I only had one profile with only one or two contacts. The more contacts I could bring to Delta Chat, the more I wanted to keep things in order and also make use of multiple profiles. So the next logical step for me was to set up one profile for family, one for friends and one for colleagues.

Now I observe that I have many different friends flocking in to Delta Chat and again, I would like to tidy up and use one profile for each group of friends, instead of one profile for all friends. Personally, I don’t like to have a very long list of contacts with many different people who will never get in contact with each other. Also, I don’t like to have the same profile picture and name for all of my friends. In some real life friend groups we use funny nicknames, but a profile can only have one name (and picture), and if I decided to go with one specific nickname, it would potentially embarrass me and confuse my other friends. So for me profiles work as kind of (main) groups, while the group chats work as subgroups within those groups.

I understand that profiles probably weren’t designed for my use case, especially not moving contacts around. They act more like a Firefox profile, which are fully independent from each other. Still, there should be a more fine-grained way to personalise contact lists. Custom lists inside a profile could be a solution. You can give them a list name and an optional username and picture which differ from the global profile name and picture and add contacts as members. This way, a contact can also be a member of multiple lists, like real life friends are sometimes the only connection between different friend groups (my default phone contacts app has such a custom list feature).

I would prefer to use profiles as custom lists, as profile names and pictures are already there, and would like to see the developers add a move contact (including chat history) feature to reorganise profiles, but ultimately it’s up to them and what they think.

If something is unclear, please reply. Thanks!

What you want sounds closer to Chat Folders to Collect Chats by Context.

As to moving chats between profiles and “replacing” your profile for others: your desire sounds valid to me, but I doubt that this feature should exist, I’m and not sure if it’s even feasible if we look at all the consequences of it (the fact that we need to tell the contacts that we use a new public key and a new list of relays is the most headache-y part).
I’m afraid you’ll just have to start a fresh chat from the different profile for now.

Thanks for the link to this interesting thread.

I understand and can imagine that it might be insecure. If it is possible to move contacts to another profile without informing the contacts, it could be abused to silently reroute messages from these contacts.

How about copying or appending the chat history after making contact with the same person from another profile? Everything is saved locally, so it should be possible, right?

Perhaps possible. We would have to sync all these messages between devices then.
But still, frankly, I’m not seeing how you can do this UI-wise without it looking weird to 95% of people.