mirror of
https://github.com/zulip/zulip.git
synced 2025-10-25 09:03:57 +00:00
event_schema: Change propagate_mode to an enum.
This commit is contained in:
@@ -788,7 +788,17 @@ update_message_topic_fields = [
|
||||
("message_ids", ListType(int)),
|
||||
("new_stream_id", int),
|
||||
(ORIG_TOPIC, str),
|
||||
("propagate_mode", str),
|
||||
(
|
||||
"propagate_mode",
|
||||
EnumType(
|
||||
[
|
||||
# order matches openapi spec
|
||||
"change_one",
|
||||
"change_later",
|
||||
"change_all",
|
||||
]
|
||||
),
|
||||
),
|
||||
("stream_id", int),
|
||||
("stream_name", str),
|
||||
(TOPIC_LINKS, ListType(str)),
|
||||
|
||||
Reference in New Issue
Block a user