Making the feedback tickets subject unique to avoid threading in gmail

Lots of tickets get rolled into a single thread and can mean we miss some tickets.  This will ensure a different thread for each one.
This commit is contained in:
Pete Herlihy
2017-02-07 14:25:22 +00:00
committed by Imdad Ahad
parent 38a385f54e
commit c906bec3eb

View File

@@ -96,7 +96,7 @@ def feedback(ticket_type):
'person_name': user_name,
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
'subject': 'Notify feedback',
'subject': 'Notify feedback {}'.format(user_name),
'message': feedback_msg,
'label': ticket_type,
'urgency': 10 if urgent else 1,