[jdev] Sending nickname in subscription presence to gtalk users doesn't work
stpeter at stpeter.im
Tue Apr 23 22:37:55 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
On 4/23/13 1:09 AM, Vineet Naik wrote:
> I am working on an xmpp component (with ejabberd server) that needs
> to send subscription requests to gtalk users.
You're not building a spambot, are you?
> In the presence stanza I include a nickname as per the xep-0172
> User nickname protocol . But the nickname doesn't appear when
> the gtalk user receives the invitations (in the gmail web client)
> and also when they are accepted. Instead it shows the node part of
> the jid.
> I understand that this is an extension so google may choose not to
> respect the nickname. But I have myself subscribed to a few bots
> for which the nickname is displayed correctly.
> Does any one know how to tell google to use the nickname instead of
> the node in the invitations as well as in roster?
IMHO it's quite possible that the Google Talk service is stripping the
nickname out of the subscription request. It would be helpful to see
XML logs of input and output from your component, ejabberd, and a test
account at Google Talk.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the JDev