[JDEV] Client support for XMPP Privacy and Jabberd 2

Brian Mila bmila at iastate.edu
Wed Jan 21 13:24:28 CST 2004


> > 
> > Sure...but it doesn't solve the problem of knowing what resource the
> > person is using.  I know I had problems with presence sending the 
> > JID w/o the resource.  As long as you're modding the spec might as
> > well fix that too?
> > 
> > Brian
> 
> I'm not so much interested in knowing who had sent the change 
> to the server as I 
> am interested in the clients being consistent. I think what 
> you want may not be 
> so straight forward :)
> 
> Dudley
> 

How much hack are you willing to accept?  You can send IQ packets
directly
to the user at resource and fill something meaningful in Query field.  Or
you
could use a custom message packet instead of IQ. Perhaps the best option
for
you would simply be to send a presence packet to the server and put
something
meaningful in the Status field.  The presence packets get delivered to
everyone,
although the senders resource is typically stripped off when the server
pushes
it out.  For your application though it shouldn't matter.

Brian




More information about the JDev mailing list