Hi all.

I'm implementing a few ad-hoc commands in PyMSNt.

What should I send as a response if the requesting client doesn't have permission to execute the command?
At the moment it goes like this

<iq type="set" to="msn.delx.cjb.net" id="ac83a" >
<command xmlns="http://jabber.org/protocol/commands"; node="connectusers" />
</iq>

<iq from="msn.delx.cjb.net" type="error" id="ac83a" to="[EMAIL PROTECTED]/Powerbook" >
<error type="cancel" code="401" >
<not-authorized/>
</error>
</iq>


Psi (with ad-hoc patches) doesn't display any error though, and JEP-0050 doesn't actually mention an error case for lack of permissions.

---

James

_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to