[JDEV] Jabber server hostname and JIDs
DJ Adams
dj.adams at pobox.com
Mon Mar 4 01:55:31 CST 2002
On Mon, Mar 04, 2002 at 06:07:01PM +1100, Robert Norris wrote:
> > > 3. Hack JID rewriting stuff into the JSM, so that any to/from attributes
> > > get rewritten to what I want them to be.
> >
> > It already does this, in the <pthcsock> element in the c2s config just
> > add:
> > <alias to="server.name"/>
> >
> > It's ugly, but it does all the magic to/from replacing so that things work
> > just like you want :) The above is the "default" one, you can also have
> > multiple <alias to="real.server">what.client.uses</alias> in there.
>
> That's interesting to know. It's pretty disgusting (as most hacks of
> this type are), and it still has the problem that the client thinks its
> JID is one thing while the rest of the network knows it as something
Yes. This is the problem with <alias/> - it wasn't very well known early
on in the stages of client development, so it wasn't implemented (AFAIK)
as widely as one would have liked. (I am just as guilty - sjabber was
written before I knew much about the full server config options).
dj
More information about the JDev
mailing list