Hello,
    I'm working on presence subscriptions and I ran into a slight
issue.  If a user requests to subscribe to the presence of himself (I
did this accidently), the server should return an error.  I see that IQ
has the capability to return errors, but need a little guidance as to
how to form the error to send back to the client.

EX:
CLIENT: '<presence to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]"
type="subscribe"/>'

Maybe this isn't an error, and I'm just confused.

Thanks,
Jamie


_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to