Hi,

Thank you all.
The XEP-172 tell us the knowledge about nickname.

My purpose is to rename a contact(may be for easy to remember). Now I
have solved this problem.I achieve this as follows:

just sends
<iq type='set'>
  <query xmlns='jabber:iq:roster'>
    <item jid='[EMAIL PROTECTED]'
          name='rename-here'>
    </item>
  </query>
</iq>
to our server. It is very similar to "Adding a friend"", isn't it?



On Oct 30, 8:53 am, "swanand rao" <[EMAIL PROTECTED]> wrote:
> Hi Water2Oil,
>
> I think I know the answer to your problem. In the RFC for XMPP IM there is
> one stanza where you can set the nickname for the person. I cannot pinpoint
> the exact place in the RFC but its there. Gimme some time and I might figure
> it out for you.... in the mean time check out the roster management section
> of the RFC......
>
> Regards,
>
> Swanand
>
> On 10/29/07, Peter Saint-Andre <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 10/24/07, water2oil <[EMAIL PROTECTED]> wrote:
>
> > > I'm  sorry for my vague express, maybe I should read the relevant docs
> > > further more.
>
> > > On Oct 23, 10:22 pm, Paul Johnson <[EMAIL PROTECTED]> wrote:
> > > > On Oct 23, 1:59 am, water2oil < [EMAIL PROTECTED]> wrote:
>
> > > > > hi,
> > > > >    how to change a friend's nickname in a program?
>
> > > > I'm sorry, I'm afraid I understand what you're talking about.  Could
> > > > you please be more vague?   :oP
>
> > Probably this person is trying to figure out how to set the contact's name
> > in the roster, presumably via the Google Talk client. But since I don't use
> > that client, I don't know how to answer.
>
> > Peter
>
> > --
> > Peter Saint-Andre
> >https://stpeter.im/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to