mirror of https://github.com/zulip/zulip.git
logging: Properly log the client for / as website.
(imported from commit 5d3cbbd26994dc5dd6d605a056947dbae19810a8)
This commit is contained in:
parent
5806a6e508
commit
bd107dbb4e
|
@ -660,8 +660,9 @@ def home(request):
|
|||
|
||||
user_profile = request.user
|
||||
request._email = request.user.email
|
||||
request.client = get_client("website")
|
||||
|
||||
register_ret = do_events_register(user_profile, get_client("website"),
|
||||
register_ret = do_events_register(user_profile, request.client,
|
||||
apply_markdown=True)
|
||||
user_has_messages = (register_ret['max_message_id'] != -1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue