[JDEV] Error Message

Jamie Warner mjw at novanews.com
Thu Jan 3 18:55:04 CST 2002

    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.

CLIENT: '<presence to="test at test.com" from="test at test.com"

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


More information about the JDev mailing list