[jdev] Sending nickname in subscription presence to gtalk users doesn't work

Peter Saint-Andre stpeter at stpeter.im
Tue Apr 23 22:37:55 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/23/13 1:09 AM, Vineet Naik wrote:
> Hello,
> 
> 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?

http://mail.jabber.org/pipermail/operators/2013-February/001571.html

> In the presence stanza I include a nickname as per the xep-0172
> User nickname protocol [1]. 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.

Peter


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRdw1DAAoJEOoGpJErxa2pEaAP+gLZhU6U77Aubb7xmiuliLYv
HBbdtHIVHViDD3rZTAShT7izroeXF92e5XUEL3thMY5sLYYWP2AVJpRX1SjgXhfO
dFNuI5swVOF1BfmeKL+Eubfngiute2cZ34pQHaY8OI4izxX//xz8Q44ntNH0dZo4
xADf7lhKuFcsHlB6FvTL27xeIzN7GKJoD+lolW4K7JQ3ZJ8mWkqZmzUaFJBE+HBl
/TskkrWzA8g1VyUWTS2UK0mffiA/3kDBcTS9XX4UugNnVxx6kp1T06rDnJrWRnFz
uWXcv70gTIieVTQjOOokR4zS5C2naGHuyWavwBFzzYtm2rQZssqD/c7D6fI0Ka1h
SADNfWYrOTGh24h0snnymOzjUtThd9kdfntPVj9mgHIAU/o8RKt0wPWVGM3RraeE
lT54S7YFFkTU7humyz1KRxpEjsgPhSTSp8Vlkm6NbaHmXjCwSJkI+Ziv9ncmlfFW
5OH+BkxDMNn3xztIoal5u+st2kyZi1ax8VXyiUSVP/MhmqfYLUhlzmtMAkNGNt4g
/1X6qnvBuLciKsETigV5I8C9spxW5G52JL/gqz37c0mZV6rfPwQAdVEPfIwGCNH9
fq8bVM7J4sok0zsQJKohRSyzR78+FrdGApwRhvDpPh2VNnagunG0bm++K+507EPs
p7EKkcrQ/BTkEK3+2sqf
=3YTJ
-----END PGP SIGNATURE-----


More information about the JDev mailing list