This bug!
This does not returnlatest message:
<iq type="get" id="sid_17">
<list xmlns="urn:xmpp:archive" end="2013-06-07T10:20:38.412Z" with="user1@domain.loc">
<set xmlns="http://jabber.org/protocol/rsm">
<max>10</max>
<before/>
</set>
</list>
</iq>
<<<< mr.lioncub@domain.loc/Work 16:20:38 +197 <<<<
<iq type="result" id="sid_17" to="mr.lioncub@domain.loc/
Work">
<list xmlns="urn:xmpp:archive">
<chat with="user1@domain.loc" start="2013-05-06T02:37:47.383Z"/>
<chat with="user1@domain.loc" start="2013-05-06T02:02:25.279Z"/>
<chat with="user1@domain.loc" start="2013-05-05T18:14:04.062Z"/>
<chat with="user1@domain.loc" start="2013-05-06T06:56:53.390Z"/>
<chat with="user1@domain.loc" start="2013-05-06T05:28:08.763Z"/>
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">22</first>
<last>468</last>
<count>71</count>
</set>
</list>
</iq>
Latest:
<iq type="get" id="sid_17"> <list xmlns="urn:xmpp:archive" end="2013-06-07T21:51:38.412Z" with="user1@domain.loc" start="2013-06-07T00:51:38.412Z"> <set xmlns="http://jabber.org/protocol/rsm"> <max xmlns="http://jabber.org/protocol/rsm">10</max> <before xmlns="http://jabber.org/protocol/rsm"/> </set> </list> </iq><<<< mr.lioncub@domain.loc/Home 21:53:16 +136 <<<< <iq type="result" id="sid_17" to="mr.lioncub@domain.loc/Home"> <list xmlns="urn:xmpp:archive"> <chat with="user1@domain.loc" start="2013-06-07T07:05:15.407Z"/> <chat with="user1@domain.loc" start="2013-06-07T03:51:58.681Z"/> <chat with="user1@domain.loc" start="2013-06-07T12:51:44.655Z"/> <chat with="user1@domain.loc" start="2013-06-07T07:15:37.235Z"/> <chat with="user1@domain.loc" start="2013-06-07T02:19:49.308Z"/> <chat with="user1@domain.loc" start="2013-06-07T02:30:04.238Z"/> <set xmlns="http://jabber.org/protocol/rsm"> <first index="0">15178</first> <last>15603</last> <count>6</count> </set> </list> </iq>
聯(lián)系客服