1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 12:37:58 +01:00

Add javadoc for MamQueryArgs.Builder.queryLastPage()

This commit is contained in:
Florian Schmaus 2018-08-16 15:35:59 +02:00
parent a4f1039a06
commit 158103c918

View file

@ -435,6 +435,14 @@ public final class MamManager extends Manager {
return this;
}
/**
* Query from the last, i.e. most recent, page of the archive. This will return the very last page of the
* archive holding the most recent matching messages. You usually would page backwards from there on.
*
* @return a reference to this builder.
* @see <a href="https://xmpp.org/extensions/xep-0059.html#last">XEP-0059 § 2.5. Requesting the Last Page in
* a Result Set</a>
*/
public Builder queryLastPage() {
return beforeUid("");
}