mirror of https://github.com/zulip/zulip.git
email mirror: remove some TODOs enterprise users don't need to see.
These should live in tickets anyway. (imported from commit 9c2a9445640278d251a99c68c0074c138b832c60)
This commit is contained in:
parent
3b4303598a
commit
f5fc59e3e0
|
@ -110,8 +110,6 @@ class ZulipEmailForwardError(Exception):
|
|||
pass
|
||||
|
||||
def send_zulip(stream, topic, content):
|
||||
# TODO: restrictions on who can send? Consider: cross-realm
|
||||
# messages, private streams.
|
||||
if stream.realm.domain != 'zulip.com' and not settings.ENTERPRISE:
|
||||
client = prod_api_client
|
||||
else:
|
||||
|
@ -119,7 +117,6 @@ def send_zulip(stream, topic, content):
|
|||
|
||||
message_data = {
|
||||
"type": "stream",
|
||||
# TODO: handle rich formatting.
|
||||
"content": content[:2000],
|
||||
"subject": topic[:60],
|
||||
"to": stream.name,
|
||||
|
|
Loading…
Reference in New Issue