Revert "zephyr_mirror: Truncate stream names to 30 characters."

This reverts commit 9973168227896dc8f1dc061b7970a503565856bf.

In theory, we should never be subscribed to receive such messages
anyway.

(imported from commit ff52eaa3285283750b4d7dc3b3a12c2d766514ac)
This commit is contained in:
Tim Abbott 2012-10-12 10:49:24 -04:00
parent 5443bdc50c
commit b229b307d6

View file

@ -73,8 +73,6 @@ def send_humbug(zeph):
zeph['shortname'] = zeph['sender'].split('@')[0] zeph['shortname'] = zeph['sender'].split('@')[0]
if "subject" in zeph: if "subject" in zeph:
zeph["subject"] = zeph["subject"][:60] zeph["subject"] = zeph["subject"][:60]
if "stream" in zeph:
zeph["stream"] = zeph["stream"][:30]
for key in zeph.keys(): for key in zeph.keys():
if isinstance(zeph[key], unicode): if isinstance(zeph[key], unicode):