[jdev] Weird Component problem

Natasha Live jabber.develop at ntlworld.com
Wed May 25 13:21:43 CDT 2005


Would this be due to the fact that the server is not allowed to adjust 
thier roster without their consent first. So obviously you are going to 
get their logging in status before they actually get as far as getting 
the message to remove your components subscription.

Natasha Live

Bart Matthaei wrote:

>Hi,
>
>I'm using Net::Jabber::Component to make a jabber component.
>
>You can register with the component, and the component will ask for your
>subscription. It will then track your status.
>
>Eventually a TCP port will be available, where a status request can be
>passed to from a webinterface.
>
>Now for the problem:
>
>Whenever I get an iq:register request, I let the user register (it doesn't
>require any information), and I send a subscribe presence to the user.
>
>As soon as the user removes the transport from his roster, I send a
>unsubscribe presence, and get a unsubscribed response.
>
>But somehow I still receive presences from the user, until the user
>reconnects, or manually removes the subscription.
>
>Any thoughts on why this is occuring?
>
>Regards,
>
>Bart
>
>  
>




More information about the JDev mailing list