Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
webhooks: Rename append-stream-name.md->append-channel-name.md.
Mateusz Mandera3c4ab345d081
diff --git a/docs/documentation/integrations.md b/docs/documentation/integrations.mdindex f3d9b982610..3f87f4c6bf7 100644--- a/docs/documentation/integrations.md+++ b/docs/documentation/integrations.md@@ -102,7 +102,7 @@ Here are a few common macros used to document Zulip's integrations:every incoming webhook by using attributes in the `WebhookIntegration` classin [zerver/lib/integrations.py][integrations-file].-- `{!append-stream-name.md!}` macro - Recommends appending `&stream=stream_name`+- `{!append-channel-name.md!}` macro - Recommends appending `&stream=stream_name`to a URL in cases where supplying a stream name in the URL is optional.Supplying a stream name is optional for most Zulip integrations. If you use`{!generate-integration-url.md!}`, this macro need not be used.diff --git a/templates/zerver/integrations/include/append-channel-name.md b/templates/zerver/integrations/include/append-channel-name.mdnew file mode 100644index 00000000000..0b3237305c3--- /dev/null+++ b/templates/zerver/integrations/include/append-channel-name.md@@ -0,0 +1,3 @@+To specify the channel, you must explicitly append+`&stream=channel_name` to the end of the above URL, where+`channel_name` is the channel you want the notifications sent to.diff --git a/templates/zerver/integrations/include/append-stream-name.md b/templates/zerver/integrations/include/append-stream-name.mddeleted file mode 100644index 764f32e3c9c..00000000000--- a/templates/zerver/integrations/include/append-stream-name.md+++ /dev/null@@ -1,3 +0,0 @@-To specify the stream, you must explicitly append-`&stream=stream_name` to the end of the above URL, where-`stream_name` is the stream you want the notifications sent to.diff --git a/zerver/webhooks/zendesk/doc.md b/zerver/webhooks/zendesk/doc.mdindex 52b35478357..3a82a2be277 100644--- a/zerver/webhooks/zendesk/doc.md+++ b/zerver/webhooks/zendesk/doc.md@@ -6,7 +6,7 @@`{{ api_url }}/v1/external/zendesk?ticket_title={% raw %}{{ ticket.title }}&ticket_id={{ ticket.id }}{% endraw %}`-1. {!append-stream-name.md!}+1. {!append-channel-name.md!}1. Next, in Zendesk, open your **Admin** view via gear in the bottom-leftcorner. In the **Admin** view, click on **Extensions**, then click