(Sending again, forgot to include the mailing list in recipients earlier) Thanks for your reply.
On Wed, Apr 24, 2013 at 4:07 AM, Peter Saint-Andre <[email protected]>wrote: > -----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 I am aware of this. Gtalk subscriptions were not working for a while but now they work fine. > > > > 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. > Here are the xml stanzas from the ejabberd log. I sent subscription request to my own gtalk id from our component. (Note that I have replaced the component host with im.domain.com in the original stanzas) Sent by ejabberd: <presence xmlns="jabber:client" type="subscribe" to="[email protected]" from="[email protected]" id="Component-2789936364"> <nick xmlns="http://jabber.org/protocol/nick">Nick of User1</nick> </presence> Received by ejabberd: <presence type="subscribed" from="[email protected]" to="[email protected] "/> <presence from="[email protected]/gmail.27EC5968" to="[email protected]"> <status/> <priority>24</priority> <caps:c node="http://mail.google.com/xmpp/client/caps" ver="1.1" ext="pmuc-v1 sms-v1 vavinvite-v1" xmlns:caps="http://jabber.org/protocol/caps"/> <x xmlns="vcard-temp:x:update"> <photo>90bff4bd98d940c31ef8243f834eed9238b00ed2</photo> </x> </presence> <presence type="subscribe" from="[email protected]" to="[email protected] "/> Regards, Vineet > > 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----- > -- Vineet Naik
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
