I have some questions on subscription.

Will subscriptions/unsubscriptions always come in the form of sub/unsub requests? Or 
is it also necessary to scan the roster to see what has changed there?

What does it mean to deny an unsub request? i.e. what if you dont reply with 
'unsubscribed'?

In my application I want to allow everyone to subscribe to me, and when they do I want 
to subscribe in turn.
And when they unsubscribe, I want to unsubscribe in turn. So Im doing something like 
this:

onrequest(){

    if ( subrequest )
        send(subscribed)
        send(subrequest)

    else if ( unsubrequest )
        send(unsubscribed)
        send(unsubrequest)
}


Is this ok? If two of my clients do this to each other, it wont setup a constant flood 
will it?

-Thankx much
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev

Reply via email to