forked from CringeStudios/gamja
Fix inverted condition in fetchHistoryBefore
This commit is contained in:
parent
4d540d55ac
commit
b0a3cd23e4
@ -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…
x
Reference in New Issue
Block a user