From 0b0b9b93796c8275c60a4c941628ef9347b6464a Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 14 Feb 2014 11:15:50 -0500 Subject: [PATCH] Remove custom code for customer14.invalid (imported from commit efdc02e02c0dbdd29a09002897a294b5e820530f) --- zerver/views/webhooks.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/zerver/views/webhooks.py b/zerver/views/webhooks.py index 4c01a50b0a..09009d8df4 100644 --- a/zerver/views/webhooks.py +++ b/zerver/views/webhooks.py @@ -223,12 +223,6 @@ def api_github_landing(request, user_profile, event=REQ, else: target_stream, subject, content = api_github_v1(user_profile, event, payload, branches, stream, **kwargs) - # customer14.invalid has a stream per GitHub project and wants the topic to - # always be 'GitHub'. - # TODO: I'm not sure how to accomodate this hack into a configuration somewhere. - if domain == "customer14.invalid": - subject = "GitHub" - request.client = get_client("ZulipGitHubWebhook") return send_message_backend(request, user_profile, message_type_name="stream",