powered by Jive Software

Issues with retrieving the last page of archived message

I have monitoring plug in installed. As per

http://xmpp.org/extensions/xep-0059.html#last

I am sending

<retrieve xmlns=‘urn:xmpp:archive’

with=‘user@domain’>

10

But it always sends the first page.If I set a value like 8 it sends the items correctly but then I need to make an additional call to get the total count which I dont want to do.

Is there something that I am missing?

Thanks,

Sujith