zephyr_mirror: Forward instances longer than 30 characters.

(imported from commit af0b2fbbcc8dee13dd70084d4f81a841193bd812)
This commit is contained in:
Tim Abbott 2012-10-11 10:35:50 -04:00
parent ea07716d32
commit 705dc202bf

View file

@ -67,7 +67,7 @@ def send_humbug(zeph):
zeph['fullname'] = username_to_fullname(zeph['sender'])
zeph['shortname'] = zeph['sender'].split('@')[0]
if "subject" in zeph:
zeph["subject"] = zeph["subject"][:30]
zeph["subject"] = zeph["subject"][:60]
for key in zeph.keys():
if isinstance(zeph[key], unicode):