fix talk acceptation confirmation

Send mail notification to speakers instead of commenting the talk as it was before
this commit.
This commit is contained in:
Élie Bouttier 2018-01-24 15:51:54 +01:00
parent 003e24cec7
commit 0122f0b1d1
1 changed files with 1 additions and 1 deletions

View File

@ -827,7 +827,7 @@ def talk_decide(request, talk_id, accept):
if m: if m:
for participant in talk.speakers.all(): for participant in talk.speakers.all():
send_message( send_message(
thread=talk.conversation, thread=participant.conversation,
author=request.conference, author=request.conference,
subject=_("[%(conference)s] Your talk '%(talk)s' have been %(action)s") % { subject=_("[%(conference)s] Your talk '%(talk)s' have been %(action)s") % {
'conference': request.conference, 'conference': request.conference,