[JDEV] Is it possible to prevent registered transport layersautomatically logging in?
richard at dobson-i.net
Mon Jan 13 05:07:47 CST 2003
> Hi Philip!
> Philip Shepherd wrote:
> >>Before you are sending the <presence/> packet, send an individual
> >>presence to the transports that shows you as offline (<presence
> >>to='transport.domain.com' type='unavailable'/>).
> >I've not yet been able to get this to work properly. Sending the
> >presence to a transport layer, does cause the the layer to logout.
> >global presence messages are still received by the transport layer, so as
> >soon as I send a global presence message, the transport layer logs back
> AFAIK this shouldn't happen. The session manager should keep track of
> individual presences and not use the default presence for them.
Urm no I dont think it should, the session manager only keeps track of
individual presences in order to send them unavailables when you logout or
> >This behaviour seems to be dependent on the way the Jabber server
> >individual presence messages. i.e. We would get the desired effect if
> >server did not send global presence messages to jid's which have already
> >an individual presence message.
> >If you know of a Jabber server with which this tactic is known to work,
> >send me the details so I can resolve this issue on my own Jabber server.
> The session manager of jabberd 1.4.x should work this way.
I dont think it does or should for that matter.
More information about the JDev