streams: Replace Dict with IntDict in stream_data.

There's another Dict that we'll convert to a Set
in a subsequent commit.
This commit is contained in:
Steve Howell
2019-12-30 11:51:16 +00:00
committed by Tim Abbott
parent 73d0350a24
commit 9f7be51ce8
8 changed files with 28 additions and 18 deletions

View File

@@ -282,7 +282,7 @@ exports.show_new_stream_modal = function () {
$("#stream-checkboxes label.checkbox").on('change', function (e) {
const elem = $(this);
const stream_id = elem.attr('data-stream-id');
const stream_id = parseInt(elem.attr('data-stream-id'), 10);
const checked = elem.find('input').prop('checked');
const subscriber_ids = stream_data.get_sub_by_id(stream_id).subscribers;