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.
This commit is contained in:
Tim Abbott 2018-04-26 10:13:19 -07:00
parent 32c841dfbc
commit 3392c607c7
1 changed files with 1 additions and 1 deletions

View File

@ -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],