Skip to content

Commit

Permalink
backport unread inf scroll fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Jan 8, 2019
1 parent 1cdb6af commit 53c1397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/topics/unread.js
Expand Up @@ -51,7 +51,7 @@ module.exports = function (Topics) {
if (!topicData.length) {
return next(null, unreadTopics);
}

Topics.calculateTopicIndices(topicData, params.start);
unreadTopics.topics = topicData;
unreadTopics.nextStart = params.stop + 1;
next(null, unreadTopics);
Expand Down

0 comments on commit 53c1397

Please sign in to comment.