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:
Jessica McKellar 2013-11-13 11:28:34 -05:00
parent 3b4303598a
commit f5fc59e3e0
1 changed files with 0 additions and 3 deletions

View File

@ -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,