I'm basing the question on the ejabberd code. Version 2.1.12 ignores to in the 
IQ. Ill be looking to patch this...

Sent from my iPhone

On May 22, 2013, at 7:33 AM, Ralph Meijer <[email protected]> wrote:

> On 2013-05-22 12:22, Sergey Dobrov wrote:
>> Hello,
>> 
>> Don't you forget to specify user's resource in the "to" iq's attribute?
> 
> This is a very good point. Let me clarify.
> 
> If you send <iq/> stanzas to a user's bare JID, these are to be handled by 
> the server on behalf of the user. It makes sense that the server just 
> responds with its view on time. However, if you send it to a specific 
> resource, the stanza should be handled by a client, hopefully giving you its 
> view on time instead.
> 
> -- 
> ralphm

Reply via email to