mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
Add unread.get_all_msg_ids().
This commit is contained in:
@@ -539,6 +539,12 @@ exports.get_msg_ids_for_mentions = function () {
|
||||
return util.sorted_ids(ids);
|
||||
};
|
||||
|
||||
exports.get_all_msg_ids = function () {
|
||||
var ids = unread_messages.members();
|
||||
|
||||
return util.sorted_ids(ids);
|
||||
};
|
||||
|
||||
exports.get_msg_ids_for_starred = function () {
|
||||
// This is here for API consistency sake--we never
|
||||
// have unread starred messages. (Some day we may ironically
|
||||
|
||||
Reference in New Issue
Block a user