Wrox Programmer Forums
|
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2011, 08:31 AM
Registered User
 
Join Date: Apr 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Auto Subscription Roster

i google so much but i m not getting to do, How to send auto subscription. means if i add to particular user i dont want to do confirmation, it has to autometically subscribed when it is add as roster...
 
Old April 18th, 2011, 07:47 PM
Wrox Author
 
Join Date: Jan 2010
Posts: 178
Thanks: 0
Thanked 16 Times in 15 Posts
Default

You can set up a handler that watches for
Code:
<presence type='subscribe'/>
stanzas and then reply always with
Code:
<presence type='subscribed'/>
Note that you will have to add the correct 'to' attribute to the latter stanza.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Subscription parameter problem Dangermouse BOOK: Professional SQL Server 2005 Reporting Services ISBN: 0-7645-8497-9 1 April 4th, 2007 04:56 AM
Data-Driven Subscription Markus27 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 May 12th, 2006 08:42 PM
Subscription issue srinivasae BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 March 23rd, 2006 10:21 AM
Bug in Subscription Section? Imar Forum and Wrox.com Feedback 0 October 2nd, 2003 03:44 PM
Where is my subscription mail? richard.york Forum and Wrox.com Feedback 3 September 8th, 2003 02:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.