dict, lazy_set: Return an iterator from values method.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-02-02 23:51:09 -08:00
committed by Tim Abbott
parent 45d3be5449
commit 9e1343ff8a
12 changed files with 33 additions and 29 deletions

View File

@@ -141,7 +141,7 @@ exports.topic_history = function (stream_id) {
};
self.get_recent_names = function () {
const my_recents = topics.values();
const my_recents = [...topics.values()];
const missing_topics = unread.get_missing_topics({
stream_id: stream_id,