zulip/zulip
在 GitHub 查看Forwarding an email containing `@all` to the email gateway drops the email with an error.
Open
#19,655 建立於 2021年9月1日
area: emailsarea: markdown (mentions)bughelp wanted
描述
The email gateway doesn't have permissions to use @all (or @stream or @everyone) and so attempts to send messages containing those characters fails.
We should escape those characters, or at least make this not a logged exception.
Sentry Issue: ZULIP-RZ
JsonableError: You do not have permission to use wildcard mentions in this stream.
File "zerver/lib/actions.py", line 3396, in _internal_prep_message
email_gateway=email_gateway,
File "zerver/lib/actions.py", line 3357, in check_message
_("You do not have permission to use wildcard mentions in this stream.")
Error queueing internal message by emailgateway@zulip.com: You do not have permission to use wildcard mentions in this stream.