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;
|
||||
}
|
||||
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.execute(query);
|
||||
return query;
|
||||
|
|
Loading…
Reference in New Issue