zephyr_mirror: Forward instances longer than 30 characters.
(imported from commit af0b2fbbcc8dee13dd70084d4f81a841193bd812)
This commit is contained in:
parent
ea07716d32
commit
705dc202bf
|
@ -67,7 +67,7 @@ def send_humbug(zeph):
|
||||||
zeph['fullname'] = username_to_fullname(zeph['sender'])
|
zeph['fullname'] = username_to_fullname(zeph['sender'])
|
||||||
zeph['shortname'] = zeph['sender'].split('@')[0]
|
zeph['shortname'] = zeph['sender'].split('@')[0]
|
||||||
if "subject" in zeph:
|
if "subject" in zeph:
|
||||||
zeph["subject"] = zeph["subject"][:30]
|
zeph["subject"] = zeph["subject"][:60]
|
||||||
|
|
||||||
for key in zeph.keys():
|
for key in zeph.keys():
|
||||||
if isinstance(zeph[key], unicode):
|
if isinstance(zeph[key], unicode):
|
||||||
|
|
Loading…
Reference in a new issue