unread: Use topic_name as var.

This commit is contained in:
Steve Howell 2018-12-22 14:20:54 +00:00 committed by Tim Abbott
parent b928bb3b26
commit 76a73e00f4
1 changed files with 4 additions and 4 deletions

View File

@ -540,8 +540,8 @@ exports.num_unread_for_stream = function (stream_id) {
return exports.unread_topic_counter.get_stream_count(stream_id);
};
exports.num_unread_for_topic = function (stream_id, subject) {
return exports.unread_topic_counter.get(stream_id, subject);
exports.num_unread_for_topic = function (stream_id, topic_name) {
return exports.unread_topic_counter.get(stream_id, topic_name);
};
exports.topic_has_any_unread = function (stream_id, topic) {
@ -556,8 +556,8 @@ exports.get_msg_ids_for_stream = function (stream_id) {
return exports.unread_topic_counter.get_msg_ids_for_stream(stream_id);
};
exports.get_msg_ids_for_topic = function (stream_id, subject) {
return exports.unread_topic_counter.get_msg_ids_for_topic(stream_id, subject);
exports.get_msg_ids_for_topic = function (stream_id, topic_name) {
return exports.unread_topic_counter.get_msg_ids_for_topic(stream_id, topic_name);
};
exports.get_msg_ids_for_person = function (user_ids_string) {