telegram icon indicating copy to clipboard operation
telegram copied to clipboard

Display name changes from telegram contact name to telegram username

Open reformedp opened this issue 3 years ago • 2 comments

I am self-hosting a matrix server to bridge different platforms, I am the only user on the platform. This issue has occurred with more than one of the bridged chats, long after the chat has been created on matrix.

[telegram name as saved in contact book] (Telegram) changed their display name to [name registered with telegram] (Telegram)

For example:

Dad (Telegram) changed their display name to John Doe (Telegram)

This problem occurs randomly as far as I can tell. I have used the default settings for the display name config.

Separately, I have tried to use set-displayname command as a workaround, but I have gotten the

That command is limited to bridge administrators.

message. How do I set myself as a bridge adminstrator?

Thank you.

reformedp avatar May 23 '22 10:05 reformedp

That's the expected behavior unless it's changing the name back and forth.

Bridge permissions are located in the config: https://github.com/mautrix/telegram/blob/v0.11.3/mautrix_telegram/example-config.yaml#L404-L419

tulir avatar May 26 '22 17:05 tulir

Does that mean the display names in element are unable to follow the phone and telegram contact book? That would be my preferred display name for my contacts.

reformedp avatar May 31 '22 08:05 reformedp

Option to use contact names was added recently (only for single-user instances, trying to use it on multi-user instances will cause names to flip back and forth)

tulir avatar Jan 14 '23 10:01 tulir