return
comment = kwargs['instance']
+
# We don't support comment editing, but let's check this anyway
if not kwargs['created']:
return
object = comment.content_object
if isinstance(object, Influence):
+ recipients = ['lextalionis@evolution-events.nl']
+ if comment.is_public:
+ recipients.append(object.character.player)
+
notify(
- [object.character.player, 'matthijs@stdin.nl'],
+ recipients,
'influences/email/influence_comment_added.html',
{'comment' : comment,
'influence' : object,