whatsapp icon indicating copy to clipboard operation
whatsapp copied to clipboard

Display name changing even though User did not change it

Open chagai95 opened this issue 5 years ago • 7 comments

image

Is this a known bug?

chagai95 avatar Mar 11 '21 07:03 chagai95

image

chagai95 avatar Mar 12 '21 08:03 chagai95

I noticed this exact issue many months ago too. What I observed is that this only happens with some accounts. My only (untested) theory is that I'm running the puppet and the relaybot (with a second phone number) at the same time, and for some reason one of the sessions sees a different name and changes it. Then later the other session notices the display name not being what it sees, and changes it back. The same theory could also work with multiple people each puppeting their own WhatsApp accounts

Do you have multiple WhatsApp accounts using the bridge?

Medath avatar Mar 19 '21 09:03 Medath

I do use the bridge and the relaybot with the same matrix account thanks for the tip I'll change that, and other than these two WhatsApp accounts I don't use any others

chagai95 avatar Mar 19 '21 11:03 chagai95

I use separate Matrix accounts and it still happens

Medath avatar Mar 19 '21 11:03 Medath

@Medath's theory seems to be correct. I just had another person who shares lots of rooms with me login to the bridge and this started happening. Whatsapp only shows a display name has changed if you've received a message from the user after they changed the name. So one of us sees the new display name and the other sees the old one -> the bridge periodically checks if the display name set for the ghost is the same as what one of our whatsapp puppet sees -> the displayname flips between the old and the new one.

uumas avatar Aug 20 '21 10:08 uumas

So basically the solution is to have those people write in the a bridged group? I think I still have that problem even when they write in the group. I'll test this, thanks!

chagai95 avatar Aug 20 '21 11:08 chagai95