don't include 'before' reference in mam queries bound by timestamp
This commit is contained in:
parent
fd7216b6a0
commit
c03e3b5965
|
@ -111,7 +111,9 @@ public class MessageArchiveService implements OnAdvancedStreamFeaturesLoaded {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
final Query query = new Query(conversation, start, end,PagingOrder.REVERSE);
|
final Query query = new Query(conversation, start, end,PagingOrder.REVERSE);
|
||||||
query.reference = conversation.getFirstMamReference();
|
if (start==0) {
|
||||||
|
query.reference = conversation.getFirstMamReference();
|
||||||
|
}
|
||||||
this.queries.add(query);
|
this.queries.add(query);
|
||||||
this.execute(query);
|
this.execute(query);
|
||||||
return query;
|
return query;
|
||||||
|
|
Loading…
Reference in a new issue