mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
channel_folder: Add API to create a channel folder.
This commit also includes code to include channel_folders data in register response. Fixes part of #31972.
This commit is contained in:
@@ -23,6 +23,7 @@ from zerver.lib.event_types import (
|
||||
EventAttachmentAdd,
|
||||
EventAttachmentRemove,
|
||||
EventAttachmentUpdate,
|
||||
EventChannelFolderAdd,
|
||||
EventCustomProfileFields,
|
||||
EventDefaultStreamGroups,
|
||||
EventDefaultStreams,
|
||||
@@ -161,6 +162,7 @@ check_alert_words = make_checker(EventAlertWords)
|
||||
check_attachment_add = make_checker(EventAttachmentAdd)
|
||||
check_attachment_remove = make_checker(EventAttachmentRemove)
|
||||
check_attachment_update = make_checker(EventAttachmentUpdate)
|
||||
check_channel_folder_add = make_checker(EventChannelFolderAdd)
|
||||
check_custom_profile_fields = make_checker(EventCustomProfileFields)
|
||||
check_default_stream_groups = make_checker(EventDefaultStreamGroups)
|
||||
check_default_streams = make_checker(EventDefaultStreams)
|
||||
|
||||
Reference in New Issue
Block a user