mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Use stream_id for by_stream__uri().
The stream_list test that was fixed here was sort of broken. It accomplished the main goal of verifying what gets rendered, but now the data setup part is more like the actual app code (and simpler, too).
This commit is contained in:
@@ -80,8 +80,8 @@ exports.decode_operand = function (operator, operand) {
|
||||
return operand;
|
||||
};
|
||||
|
||||
exports.by_stream_uri = function (stream) {
|
||||
return "#narrow/stream/" + exports.encode_stream_name(stream);
|
||||
exports.by_stream_uri = function (stream_id) {
|
||||
return "#narrow/stream/" + exports.encode_stream_id(stream_id);
|
||||
};
|
||||
|
||||
exports.by_stream_topic_uri = function (stream_id, subject) {
|
||||
|
||||
Reference in New Issue
Block a user