diff --git a/integrations/codebase/zulip_codebase_mirror b/integrations/codebase/zulip_codebase_mirror index 5251e51..8ce3823 100755 --- a/integrations/codebase/zulip_codebase_mirror +++ b/integrations/codebase/zulip_codebase_mirror @@ -220,6 +220,9 @@ def handle_event(event): logging.info("Unknown event type %s, ignoring!" % (event_type,)) if subject and content: + if len(subject) > 60: + subject = subject[:57].rstrip() + '...' + res = client.send_message({"type": "stream", "to": stream, "subject": subject,