aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/notifications/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/notifications/tools.py')
-rw-r--r--mediagoblin/notifications/tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/notifications/tools.py b/mediagoblin/notifications/tools.py
index 25432780..69017ed0 100644
--- a/mediagoblin/notifications/tools.py
+++ b/mediagoblin/notifications/tools.py
@@ -32,11 +32,11 @@ def generate_comment_message(user, comment, media, request):
comment_url = request.urlgen(
'mediagoblin.user_pages.media_home.view_comment',
comment=comment.id,
- user=media.get_uploader.username,
+ user=media.get_actor.username,
media=media.slug_or_id,
qualified=True) + '#comment'
- comment_author = comment.get_author.username
+ comment_author = comment.get_actor.username
rendered_email = render_template(
request, 'mediagoblin/user_pages/comment_email.txt',