does anyone know how to get full contact info?
not only loginId but Nickname. First Name, Second Name, email…
Yeah, look at the GUI.
There's a menu called "Info" wich does it.
Search the code for "Remove Contact". You'll find "Info" menu nearby.
I am guessing it's a call on some child of Connection class. Like MessageConnection or smth.
Yes I did, but the is no info like First Name, Second Name, email…
Oh. Most protocols don't offer this kind of info. ICQ does… not sure which others.
Feel free to expand on the code and implement getting more data from the underlying platform APIs to do it, I'll check it in.
maybe you can point me where I can expand this API?
because I'm no so good in it
Look at what Info menu calls.
Then find that call in each of the protocol classes. Say in GoogleTalkConnection.
Then see what you can do to provide the client's email etc.
All the protocols we use are public, so just find their forums and post there if you need help.
Log in to post a comment.