Skip to content

Commit

Permalink
Remove last customer-specific hack from github hook.
Browse files Browse the repository at this point in the history
(imported from commit 897d9fd91e4f6c558d687f5ae6c360fad80574d9)
  • Loading branch information
timabbott committed Sep 25, 2015
1 parent 0ace7fe commit f318160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zerver/views/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def api_github_landing(request, user_profile, event=REQ,
short_ref = re.sub(r'^refs/heads/', '', payload.get('ref', ""))
kwargs = dict()

if (emphasize_branch_in_topic or user_profile.realm.domain == "customer26.invalid") and short_ref:
if emphasize_branch_in_topic and short_ref:
kwargs['topic_focus'] = short_ref

allowed_events = set()
Expand Down

0 comments on commit f318160

Please sign in to comment.