[jdev] iq:private question
Craig Hollabaugh
craig at hollabaugh.com
Fri Jun 4 03:07:35 CDT 2004
On Fri, 2004-06-04 at 01:10, Jacek Konieczny wrote:
> On Fri, Jun 04, 2004 at 08:16:05AM +1000, Robert Norris wrote:
> > On Thu, Jun 03, 2004 at 02:36:37PM -0600, Craig Hollabaugh wrote:
> > > I'm trying to send an iq with <query xnlns='jabber:iq:private'>
> > > between my custom non-IM clients. I noticed that jabberd v1.4.3
> > > intercepts and bounces the message. I see in jsm/modules/mod_xml.c
> > > that the server returns a TERROR_NOTACCEPTABLE message.
> >
> > You can't do that. jabber:iq:private is a namespace that has special
> > meaning to a server (at least servers that support it), which is why
> > you're getting an error when you try to route around the server.
>
> And that is a bug. If the stanza is not directed to the server (it is
> a full client JID (with node and resource)) it should be routed to the
> client unless some explicit client-defined rules forbid that (e.g.
> privacy rules).
I agree.
I'm investigating this in more detail in jabberd v2.0. I'll work with
Rob on what I found.
Craig
--
------------------------------------------------------------
Dr. Craig Hollabaugh, craig at hollabaugh.com
Author of Embedded Linux: Hardware, Software and Interfacing
www.embeddedlinuxinterfacing.com
More information about the JDev
mailing list