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

Ashley Ward ashley.ward at surevine.com
Tue Oct 27 10:48:43 UTC 2015


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 <freeakk at gmail.com> wrote:
> 
> Hi,
> 
> I have a question about XEP-0313.
> There is part that is counterintuitive:
> 
> Example 1. A user queries their archive for messages
> <iq type='set' id='juliet1'>
>   <query xmlns='urn:xmpp:mam:1' queryid='f27' />
> </iq>
> 
> Why should we send "set" IQ to get messages? It was "get" in the older versions of the XEP.
> What was the reason to change it?
> 
> Links:
> XEP http://xmpp.org/extensions/xep-0313.html <http://xmpp.org/extensions/xep-0313.html>
> Diff http://xmpp.org/extensions/diff/api/xep/0313/diff/0.2/vs/0.4.1 <http://xmpp.org/extensions/diff/api/xep/0313/diff/0.2/vs/0.4.1> (search for getset on the page)
> 
> 
> Regards,
> Michael Uvarov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20151027/03a692d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.jabber.org/pipermail/standards/attachments/20151027/03a692d5/attachment.sig>


More information about the Standards mailing list