Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

starred_messages: Rename count() to get_count().

Anders Kaseorg1d1eed2f1761
diff --git a/static/js/starred_messages.js b/static/js/starred_messages.js
index e62b4fd7f1b..6cee24933e7 100644
--- a/static/js/starred_messages.js
+++ b/static/js/starred_messages.js
@@ -28,7 +28,7 @@ exports.remove = function (ids) {
exports.rerender_ui();
};
-exports.count = function () {
+exports.get_count = function () {
return exports.starred_ids.size;
};
@@ -37,7 +37,7 @@ exports.get_starred_msg_ids = function () {
};
exports.rerender_ui = function () {
- let count = exports.count();
+ let count = exports.get_count();
if (!page_params.starred_message_counts) {
// This essentially hides the count