[jdev] Managing Subscriptions

Joe Hildebrand hildjj at gmail.com
Tue Oct 23 12:08:11 CDT 2007


One typical issue for bots is to not retrieve their roster.  All the  
subscription stuff gets odd if you don't, in some servers.


On Oct 22, 2007, at 3:01 PM, Rick Measham wrote:

>> In short this should work (works for the Jaiku IM bot, where many  
>> users
>> are using Google Talk):
>
>> - Respond to incoming <presence type='subscribe'/> with <presence
>> type='subscribed'/>
>> - Return the favour by sending <presence type='subscribe'/>, too.
>
> Strange, I could have sworn I tried this, but it's working  
> perfectly now!
>
> Thanks Ralph!
>
> Next problem: Getting gmail's chat client to render the HTML  
> section ..
>
> Cheers!
> Rick Measham




More information about the JDev mailing list