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.

stream_data: Use `Map` instead of `FoldDict` for `BinaryDict` class.

Lalit Singh5d109fc670ef
diff --git a/web/src/stream_data.js b/web/src/stream_data.js
index 3c14557708f..6c4f9ae1da9 100644
--- a/web/src/stream_data.js
+++ b/web/src/stream_data.js
@@ -33,8 +33,8 @@ class BinaryDict {
- autocomplete stream in compose
*/
- trues = new FoldDict();
- falses = new FoldDict();
+ trues = new Map();
+ falses = new Map();
constructor(pred) {
this.pred = pred;