BlueBubblesApp / bluebubbles-app

A cross-platform app ecosystem, bringing iMessage to Android, PC (Windows, Linux, & even macOS), and Web!
https://bluebubbles.app
Apache License 2.0
722 stars 100 forks source link

Server reads imessage from a contact's email and a contact's phone number as two separate contacts and conversations #2756

Open samir-a-ali opened 3 months ago

samir-a-ali commented 3 months ago

Even when both email and phone number are under the same name in Mac Contacts and also under the Bluebubbles contact list, messages show up under different conversations. in imessage on mac, messages from both email and phone number show up under the same conversation

zlshames commented 3 months ago

Chats are ID'd by the sending address. For instance, iMessage:-;123456789 and/or iMessage;-;someemail@gmail.com. That's just how the iMessage database operates. If we combined chats by contact, it would be done in the app, not the server.

That said, it's not something easy to do i don't think. I'm not sure it's something we will want to do. But I'm going to move it to the app repo anyways

samir-a-ali commented 3 months ago

ah i see. I only noticed that imessage on the Mac had managed to keep the messages from all sending addresses of a particular contact under the same conversation and the bluebubbles server contact list also listed all sending addresses under this same contact.

but if the chats are ID'd by sending address and not the contact i can see how it would be difficult.

thanks for explaining, just a QOL thing, they only text from email when theyre not synced anyway