mirror of https://github.com/zulip/zulip.git
unread.js: Remove unused argument to get_counts().
This commit is contained in:
parent
34e452bcfd
commit
a4b0ca8f07
|
@ -286,7 +286,7 @@ exports.get_counts = function () {
|
||||||
res.mentioned_message_count = unread_mentioned.num_items();
|
res.mentioned_message_count = unread_mentioned.num_items();
|
||||||
|
|
||||||
// This sets stream_count, topic_count, and home_unread_messages
|
// 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.home_unread_messages = topic_res.stream_unread_messages;
|
||||||
res.stream_count = topic_res.stream_count;
|
res.stream_count = topic_res.stream_count;
|
||||||
res.topic_count = topic_res.topic_count;
|
res.topic_count = topic_res.topic_count;
|
||||||
|
|
Loading…
Reference in New Issue