This commit is contained in:
Baris Soner Usakli
2013-12-30 16:09:07 -05:00
parent 14744a854f
commit fbb4998999
2 changed files with 3 additions and 1 deletions

View File

@@ -456,9 +456,10 @@ var async = require('async'),
}
function sendUnreadTopics(topicIds) {
Topics.getTopicsByTids(topicIds, uid, function(topicData) {
unreadTopics.topics = topicData;
unreadTopics.nextStart = start + topicIds.length;
unreadTopics.nextStart = stop + 1;
if (!topicData || topicData.length === 0) {
unreadTopics.no_topics_message = 'show';
}