mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
zephyr_mirror: Truncate stream names to 30 characters.
(imported from commit 9973168227896dc8f1dc061b7970a503565856bf)
This commit is contained in:
@@ -73,6 +73,8 @@ def send_humbug(zeph):
|
||||
zeph['shortname'] = zeph['sender'].split('@')[0]
|
||||
if "subject" in zeph:
|
||||
zeph["subject"] = zeph["subject"][:60]
|
||||
if "stream" in zeph:
|
||||
zeph["stream"] = zeph["stream"][:30]
|
||||
|
||||
for key in zeph.keys():
|
||||
if isinstance(zeph[key], unicode):
|
||||
|
||||
Reference in New Issue
Block a user