[jdev] How to automaticallly accept presence subscription requests?

Michal 'vorner' Vaner vorner at ucw.cz
Mon Sep 29 09:23:20 CDT 2008


Hello

On Mon, Sep 29, 2008 at 05:27:38AM -0700, Reman Child wrote:
> A more general question - is it necessary to follow 'subscribed' with a
> subscription request of your own? Ie, do I need to be subscribed to all
> people that are subscribed to me, or is it fine to just send 'subscribed'
> and be done with it? In my case, I don't need to know their presence, I just
> want them to be able to IM my bot.

They could talk with the bot even if you didn't send subscribed. They
wouldn't just see it as online. So, generally, you don't.

However, google talk, in their incredible desire to battle spam, do not
deliver messages unless contacts are mutually subscribed, so for gtalk
users, you need to subscribe to them as well. (And do not ask me how
this helps eliminate unwanted messages.)

-- 
_(){ _&_;};_

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20080929/3c405998/attachment-0003.pgp>


More information about the JDev mailing list