| Issue 8: | ICQ nicknames/display names of the user logged in as well as the buddy nicknames | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Login to your icq account and wait until your buddies are loaded 2. check your account name and your buddy display names 3. all of them are displayed as icq numbers. None of them have nicknames/display names present. I know we can set a nickname for the buddy,but the display name should be displayed with whatever the buddy has set for himself/herself What is the expected output? What do you see instead? Display names that the users have set for themselves. Currently we see icq numbers What version of the product are you using? On what operating system? latest svn code. This is independent of the OS used Please provide any additional information below. |
|
,
Jan 26, 2008
Regarding this --- nothing actually "arrives" immediately to tell you this information. If you watch the protocol for ICQ (and no, I don't expect you to have done that ;D ), you'll see that a real ICQ client actually looks up this information when you add someone. (note that you generally have to "search" for your contacts) It keeps track of the nickname and adds it to your SSI buddy roster along with the item itself. So how does one that doesn't operate in that mode handle it? A simple MetaShortInfo request. That said, that doesn't appear to be working right for me right now, so I've been aiming to get that working correctly. ;) Just wanted to let you know the way it generally works and why it's the way it is right now. |
|
,
Jan 27, 2008
Thank You so much for the tip. I got it working |
|
,
Jan 28, 2008
Would you mind sharing your code? Ironically, I'm having trouble getting it working. ;D |
|
,
Jan 29, 2008
sure!
int requestId = nextSeqId();
int buddyUIN = Integer.parseInt(buddy.getScreenName());
int ownerUIN = Integer.parseInt(owner.getScreenName());
MetaShortInfoRequest req = new MetaShortInfoRequest(ownerUIN,requestId,
buddyUIN);
request(req,new SnacRequestAdapter(){
public void handleResponse(SnacResponseEvent e) {
MetaShortInfoCmd cmd = (MetaShortInfoCmd)
snacCmdFactory.genSnacCommand(e.getSnacPacket());
fireMetaShortDataReceived(cmd,getScreenName());
}
});
|
|
,
Nov 05, 2008
Hi, This does not work for me... the AimConnection's sendSnac(SnacCommand) method does a mutable service lookup for 0x0015 (FAMILY_ICQ) and finds no implementations and can thus not send the request... Any ideas? |
|
|
|