mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
web-narrow: Update operators to use channel and channels.
Updates operators used for narrow.activate and sent as narrow parameters to the server to use channel and channels. Part of stream to channel rename project.
This commit is contained in:
committed by
Tim Abbott
parent
8d102cf12f
commit
58b91202f4
@@ -1393,7 +1393,7 @@ export function with_first_message_id(stream_id, topic_name, success_cb, error_c
|
||||
num_before: 1,
|
||||
num_after: 0,
|
||||
narrow: JSON.stringify([
|
||||
{operator: "stream", operand: stream_id},
|
||||
{operator: "channel", operand: stream_id},
|
||||
{operator: "topic", operand: topic_name},
|
||||
]),
|
||||
};
|
||||
@@ -1421,7 +1421,7 @@ export function is_message_oldest_or_newest(
|
||||
num_before: 1,
|
||||
num_after: 1,
|
||||
narrow: JSON.stringify([
|
||||
{operator: "stream", operand: stream_id},
|
||||
{operator: "channel", operand: stream_id},
|
||||
{operator: "topic", operand: topic_name},
|
||||
]),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user