Fix inverted condition in fetchHistoryBefore
This commit is contained in:
parent
4d540d55ac
commit
b0a3cd23e4
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ export default class Client extends EventTarget {
|
|||
fetchHistoryBefore(target, before) {
|
||||
var params = ["BEFORE", target, "timestamp=" + before, CHATHISTORY_PAGE_SIZE];
|
||||
return this.roundtripChatHistory(params).then((batch) => {
|
||||
return { more: batch.messages.length < CHATHISTORY_PAGE_SIZE };
|
||||
return { more: batch.messages.length >= CHATHISTORY_PAGE_SIZE };
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue