Commit 0e8a9fca authored by Michal Čihař's avatar Michal Čihař

Use correct author for new change notification

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent ef1da0a5
......@@ -613,7 +613,7 @@ class Unit(models.Model, LoggerMixin):
self.translation.update_stats()
# Notify subscribed users about new translation
notify_new_translation(self, oldunit, request.user)
notify_new_translation(self, oldunit, user)
# Update user stats
user.profile.translated += 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment