Hello,
Don't you forget to specify user's resource in the to iq's attribute?
On 05/22/2013 04:49 AM, Noah Schwartz wrote:
I'm looking to add a feature to my client that will show the user the
timezone of the person they're talking to. We have a number of offices
around the world and I feel
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
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 ral...@ik.nu wrote:
On 2013-05-22 12:22, Sergey Dobrov wrote:
Hello,
Don't you forget to specify user's resource
On 2013-05-22 14:15, Noah Schwartz wrote:
I'm basing the question on the ejabberd code. Version 2.1.12 ignores to in the
IQ. Ill be looking to patch this...
Are you saying that ejabberd intercepts iq/ stanzas addressed to full
JIDs (with resource)? That'd would be a major bug per section
On 05/22/2013 07:22 PM, Ralph Meijer wrote:
Version 2.1.12 ignores to in the IQ
It sounds like smth impossible. I use ejabberd and iq:time works just
fine when addressing stanza appropriately.
--
With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.
Its possible theres another IQ handler elsewhere in the code but, that
seems really unlikely. For those of you that know Erlang, see below.
process_local_iq(_From, _To, #iq{type = Type, sub_el = SubEl} = IQ) -
case Type of
set -
IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]};
get
You don't need to find any code in the ejabberd sources. Ejabberd will
just route a full-jid addressed stanza to a xmpp-client and IT will
answer your query. Ejabberd just has no idea of timezones of it's clients.
This code is responsible only to ejabberd's self time, no more, no less.
Anyway, it
Oh -- well I feel foolish :) Thanks Sergey!
On Wed, May 22, 2013 at 9:15 AM, Sergey Dobrov bin...@jrudevels.org wrote:
You don't need to find any code in the ejabberd sources. Ejabberd will
just route a full-jid addressed stanza to a xmpp-client and IT will
answer your query. Ejabberd just
I'm looking to add a feature to my client that will show the user the
timezone of the person they're talking to. We have a number of offices
around the world and I feel this will help set expectations on whether or
not you can expect a response.
Am I completely misunderstanding XEP 202? In the
Am I completely misunderstanding XEP 202? In the ejabberd implmentation, it
completely ignores the From and To and gives the user back the UTC and TZO of
the server. Am I correct in understanding that this XEP should allow Romeo to
find out Juliets timezone?
No, your understanding is
10 matches
Mail list logo