Open Kitton opened 10 years ago
I do not remember it right now but I'm pretty sure there is a contact name somewhere. I remember that contact subscription discovery has a field for a nickname, which is probably the nickname chosen by the contact. On groups chats it's definitely possible to show nicknames, as contacts may have a per-chat nickname. Maybe we could add an option to allow users to choose between locally stored usernames and the ones being advertised by the contact for a particular chat.
I personally think we should stick to the local aliases in group chats and show the nick name in the information window ("Get Info") instead.
I've seen _# (with an underscore) often showing up as names (from bitlbee), even if I added # in the contact. Is this a bitlebee-purple issue rather than a whatsapp-purple ?
I am not able to see names but only contact numbers. Have to use an external service like truecaller or ask the person whose number I'm seeing.
Miranda-ng plugin can pull nicknames. Maybe simple borrow their ideas? :) http://trac.miranda-ng.org/browser#trunk/protocols/WhatsApp/src/
Only when you receive a message, There could be some sort of database, a simple key value file. I don't know much about libpurple and the interaction with this plugin. Should the plugin create it's own db (like ~/.whatsapp-purple)? Or if you receive a message, create a contact automatically with the nickname alias.
Is it possible to show a contact's name? I think we have this information in the packages arriving from the other side.