[Standards] xep-0313 missing features

Philipp Hörist philipp at hoerist.com
Mon Mar 5 13:12:17 UTC 2018


 <iq type='set' id='q29302'>
  <query xmlns='urn:xmpp:mam:2'>
    <x xmlns='jabber:x:data' type='submit'>
      <field var='FORM_TYPE' type='hidden'>
        <value>urn:xmpp:mam:2</value>
      </field>
    </x>
   <set xmlns='http://jabber.org/protocol/rsm'>
      <max>10</max>
      <before/>
    </set>
  </query>
</iq>

This gives you the last 10 messages of the whole Archive, you can add time
/ jid filtering to get the last 10 from a JID or the last 10 inside a
timeframe

2018-03-05 14:06 GMT+01:00 Lazar Otasevic <redhotbits at gmail.com>:

> because, why not. clients should be able to choose direction i guess. not
> every needs to work the same?
>
> On Mon, Mar 5, 2018 at 1:56 PM, Philipp Hörist <philipp at hoerist.com>
> wrote:
>
>>
>> 2018-03-05 13:42 GMT+01:00 Lazar <redhotbits at gmail.com>:
>>
>>> yes we need explicit controll to request last 10 or first 10 results
>>> then, i dont see it possible now
>>>
>>>
>>>
>> why do you need that? You can definitly do a query like that, but i dont
>> see why you ever want to do that.
>>
>> _______________________________________________
>> Standards mailing list
>> Info: https://mail.jabber.org/mailman/listinfo/standards
>> Unsubscribe: Standards-unsubscribe at xmpp.org
>> _______________________________________________
>>
>>
>
> _______________________________________________
> Standards mailing list
> Info: https://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: Standards-unsubscribe at xmpp.org
> _______________________________________________
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20180305/97a227b7/attachment.html>


More information about the Standards mailing list