mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
This commit updates the Slack incoming webhook endpoint to use the same Slack reformatting functions (`convert_to_zulip_markdown` and `replace_links`) that are used for Slack data import and cleaning up any duplicative functions. This was previously not possible because the Slack reformatting regex in `slack_message_conversion.py` could not handle these cases: - Formatting applied to non-ASCII characters (e.g., emoji). - Formatted strings separated by exactly one character. - Formatted strings appearing immediately after a new line. Fixes part of #31162. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| import_util.py | ||
| mattermost.py | ||
| rocketchat.py | ||
| sequencer.py | ||
| slack_message_conversion.py | ||
| slack.py | ||
| user_handler.py | ||