1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Merge branch '4.3'

This commit is contained in:
Florian Schmaus 2018-11-29 22:55:38 +01:00
commit 273937199b

View file

@ -633,7 +633,7 @@ public final class MamManager extends Manager {
public List<Message> pagePrevious(int count) throws NoResponseException, XMPPErrorException, public List<Message> pagePrevious(int count) throws NoResponseException, XMPPErrorException,
NotConnectedException, NotLoggedInException, InterruptedException { NotConnectedException, NotLoggedInException, InterruptedException {
RSMSet previousResultRsmSet = getPreviousRsmSet(); RSMSet previousResultRsmSet = getPreviousRsmSet();
RSMSet requestRsmSet = new RSMSet(count, previousResultRsmSet.getLast(), RSMSet.PageDirection.before); RSMSet requestRsmSet = new RSMSet(count, previousResultRsmSet.getFirst(), RSMSet.PageDirection.before);
return page(requestRsmSet); return page(requestRsmSet);
} }