mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
We want to use render_and_show_preview in message_edit, but that will cause a dependency cycle because of message_events. In order to avoid the dependency cycle, the function has been moved to compose_ui and relevant types have been added. This commit does not audit the existing function for improvements, just moves it around and adds types. The `msg` and `result` are same as the other files (e.g. activity.test.js) with success responses.
29 KiB
29 KiB