zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.09k stars 85 forks source link

Feature request: Make name used for people without handle configurable #423

Closed samueltardieu closed 1 year ago

samueltardieu commented 1 year ago

Telega supports completion of user names, including when the user doesn't have a handle. However, it always shows the full name of the user after completing (@, choose John Doe, it displays John Doe with a link to the user profile) while by default official Telegram implementations use the first name only (@, choose John Doe, it displays John with a link to the user profile). In fact, on mobile, you can even edit the name afterwards while keeping the link to the user profile.

It would be great if Telega could provide a variable to set the function to choose the displayed name. We could for example choose to use the full name, the first name, or even an editable choice.