From 158103c918ea0650896b20316386cae78f924b4f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Thu, 16 Aug 2018 15:35:59 +0200 Subject: [PATCH] Add javadoc for MamQueryArgs.Builder.queryLastPage() --- .../main/java/org/jivesoftware/smackx/mam/MamManager.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java b/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java index bd8707f8d..3b90d1cb5 100644 --- a/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java +++ b/smack-experimental/src/main/java/org/jivesoftware/smackx/mam/MamManager.java @@ -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 XEP-0059 ยง 2.5. Requesting the Last Page in + * a Result Set + */ public Builder queryLastPage() { return beforeUid(""); }