From e7cc9090fdb5ed93061f3aad893ed85c03de04ad Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 30 Jul 2024 13:41:35 -0700 Subject: [PATCH] api docs: Clarify event structure when moving channels. The previous language would most naturally be read as suggesting that moving topics between channels would have these fields. --- zerver/openapi/zulip.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index 8b00fb97d1..412f38cf3a 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -2537,8 +2537,9 @@ paths: subject: type: string description: | - Only present if this event moved messages to a different - topic. + Only present if this event moved messages to a different topic; + this field will not be present when moving messages to the same + topic name in a different channel. The post-edit topic for all of the messages with IDs in `message_ids`. @@ -2557,8 +2558,9 @@ paths: description: | The expanded target url which the link points to. description: | - Only present if this event moved messages to a different - topic. + Only present if this event moved messages to a different topic; + this field will not be present when moving messages to the same + topic name in a different channel. Data on any links to be included in the `topic` line (these are generated by