Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Ashley Ward
Maybe it's because it’s not actually getting something as part of the iq, but actually just triggering a replay of the message archive? — Ash > On 27 Oct 2015, at 10:45, Michael Uvarov wrote: > > Hi, > > I have a question about XEP-0313. > There is part that is

Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Kevin Smith
On 27 Oct 2015, at 10:55, Michael Uvarov wrote: > > Nice. Probably we should update XEP to specify this. It does, as far as I can see: "A query consists of an stanza of type=‘set’” in section 4 at the start and 4.1.5 "In order for the client find out about additional

Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Kim Alvefur
On 2015-10-27 11:55, Michael Uvarov wrote: > Nice. Probably we should update XEP to specify this. Like this? http://xmpp.org/extensions/xep-0313.html#example-12 Or do you think it should be before the iq-set examples? -- Kim "Zash" Alvefur signature.asc Description: OpenPGP digital

[Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Michael Uvarov
Hi, I have a question about XEP-0313. There is part that is counterintuitive: *Example 1. A user queries their archive for messages* **** Why should we send "set" IQ to /get/

Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Kim Alvefur
On 2015-10-27 11:45, Michael Uvarov wrote: > Why should we send "set" IQ to /get/ messages? It was "get" in the older You use iq-get to get the query form and iq-set to submit it. -- Kim "Zash" Alvefur signature.asc Description: OpenPGP digital signature

Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Kevin Smith
On 27 Oct 2015, at 10:45, Michael Uvarov wrote: > > Hi, > > I have a question about XEP-0313. > There is part that is counterintuitive: > > Example 1. A user queries their archive for messages > > > > > > > > Why should we send "set" IQ to > get > messages? It was

Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Michael Uvarov
Nice. Probably we should update XEP to specify this. On October 27, 2015 11:50:02 AM CET, Kim Alvefur wrote: >On 2015-10-27 11:45, Michael Uvarov wrote: >> Why should we send "set" IQ to /get/ messages? It was "get" in the >older > >You use iq-get to get the query form and iq-set

Re: [Standards] IQ type=set to query messages in XEP-0313

2015-10-27 Thread Michael Uvarov
Something like: Before: Example 1. A user queries their archive for messages After: Example 1. A user sends a form to query their archive for messages And a comment that "set" is according the form XEP. On October 27, 2015 11:57:59 AM CET, Kim Alvefur wrote: >On 2015-10-27