mirror of https://github.com/zulip/zulip.git
Normalize the sender email while we're at it
(imported from commit 1c245156809da77b4bef7a4396e8c0bee5724490)
This commit is contained in:
parent
57bc0e0b8d
commit
9c99e00228
|
@ -463,7 +463,7 @@ def extract_sender(request):
|
|||
sender = None
|
||||
try:
|
||||
if 'sender' in request.POST:
|
||||
sender = {'email': request.POST["sender"],
|
||||
sender = {'email': request.POST["sender"].strip().lower(),
|
||||
'full_name': request.POST["fullname"],
|
||||
'short_name': request.POST["shortname"]}
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue