mirror of https://github.com/zulip/zulip.git
submit_feedback: remove unused domainish variable.
This commit is contained in:
parent
9a08ef5545
commit
1f9d93bc96
|
@ -45,9 +45,6 @@ def get_ticket_number():
|
||||||
@has_request_variables
|
@has_request_variables
|
||||||
def submit_feedback(request, deployment, message=REQ(validator=check_dict([]))):
|
def submit_feedback(request, deployment, message=REQ(validator=check_dict([]))):
|
||||||
# type: (HttpRequest, Deployment, Dict[str, Text]) -> HttpResponse
|
# type: (HttpRequest, Deployment, Dict[str, Text]) -> HttpResponse
|
||||||
domainish = message["sender_domain"]
|
|
||||||
if get_realm("zulip") not in deployment.realms.all():
|
|
||||||
domainish += u" via " + deployment.name
|
|
||||||
subject = "%s" % (message["sender_email"],)
|
subject = "%s" % (message["sender_email"],)
|
||||||
|
|
||||||
if len(subject) > 60:
|
if len(subject) > 60:
|
||||||
|
|
Loading…
Reference in New Issue