From 3392c607c7143927ee922af7c2f1f2c68f054c99 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 26 Apr 2018 10:13:19 -0700 Subject: [PATCH] github_legacy: Use a client string for Legacy webhook. This should make it easier to ensure we're getting all users migrated off this webhook. --- zerver/webhooks/github_legacy/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/webhooks/github_legacy/view.py b/zerver/webhooks/github_legacy/view.py index 0312ee8dd9..eaf86c3b8a 100644 --- a/zerver/webhooks/github_legacy/view.py +++ b/zerver/webhooks/github_legacy/view.py @@ -279,7 +279,7 @@ def api_github_landing(request: HttpRequest, user_profile: UserProfile, event: T target_stream, subject, content = api_github_v1(user_profile, event, payload, branches, stream, **kwargs) - request.client = get_client('ZulipGitHubWebhook') + request.client = get_client('ZulipGitHubLegacyWebhook') return send_message_backend(request, user_profile, message_type_name='stream', message_to=[target_stream],