[jdev] checking MY presence
Daniel Noll
daniel at noll.id.au
Sun Oct 22 08:38:56 CDT 2006
On Thursday 19 October 2006 12:06, WL Gardner wrote:
> I should not need to "subscribe" to myself in order to "probe" or get my
> presence, right?
>
> I want to do the opposite of this:
>
> <presence from="will at jabber.org" to="will@ jabber.org ">
> <show>chat</show>
> </presence>
>
> I want to get my status instead of setting it.
You get this automatically from all other resources without having to
subscribe to yourself. (e.g. log onto a server with two Psis.)
That being said, if you attempt to do this from a dead connection it's not
going to work. So the best way to determine if your existing connection is
online is probably to ping yourself. :-)
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20061022/f59d0606/attachment-0002.pgp>
More information about the JDev
mailing list