unread.js: Remove unused argument to get_counts().

This commit is contained in:
Steve Howell 2017-07-31 09:06:19 -04:00
parent 34e452bcfd
commit a4b0ca8f07
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ exports.get_counts = function () {
res.mentioned_message_count = unread_mentioned.num_items();
// This sets stream_count, topic_count, and home_unread_messages
var topic_res = exports.unread_topic_counter.get_counts(res);
var topic_res = exports.unread_topic_counter.get_counts();
res.home_unread_messages = topic_res.stream_unread_messages;
res.stream_count = topic_res.stream_count;
res.topic_count = topic_res.topic_count;