[Standards-JIG] Re: Query a server for users?

Jesper Krogh jesper at krogh.cc
Thu Feb 26 09:57:37 UTC 2004


I gmane.network.jabber.standards-jig, skrev Jesper Krogh:
>  Is it possible to query a server for a user? 
> 
>  The question i wish to answer is: Does this user still exist?
> 
>  I can send a message then I get a 404 - Not found if the user doesn't
>  exist, so the information is not secret anyway. This just has the
>  bad result that the user gets a message if it is there.
> 
>  The goal is to be able to do a safe cleanup in the spool of transports.
>  If i know that user117 at jabberserver.org has been removed, then I can
>  safe remove the registration from the spool. 
> 
>  Or is there another way, conforming to the standards, to solve this job?

Thinking a bit further... I can just send an iq/get to the jid.  :-) 

Jesper
-- 
./Jesper Krogh, jesper at krogh.cc





More information about the Standards mailing list