mirror of https://github.com/zulip/zulip.git
zephyr_mirror: Truncate instances for now.
(imported from commit 43487c86c4847baba4500665a735547c9d8e8098)
This commit is contained in:
parent
1a5c18b12c
commit
5a80f5248a
|
@ -68,7 +68,8 @@ def send_humbug(zeph):
|
|||
zeph["recipient"] = zeph["recipient"].lower().replace("athena.mit.edu", "mit.edu")
|
||||
zeph['fullname'] = username_to_fullname(zeph['sender'])
|
||||
zeph['shortname'] = zeph['sender'].split('@')[0]
|
||||
|
||||
if "instance" in zeph:
|
||||
zeph["instance"] = zeph["instance"][:30]
|
||||
browser.addheaders.append(('X-CSRFToken', csrf_token))
|
||||
|
||||
humbug_data = []
|
||||
|
|
Loading…
Reference in New Issue