diff --git a/app/models.py b/app/models.py index b7f2d455..e9434923 100644 --- a/app/models.py +++ b/app/models.py @@ -1439,7 +1439,7 @@ class PostReply(db.Model): effect=effect) self.author.reputation += effect db.session.add(vote) - current_user.last_seen = utcnow() + user.last_seen = utcnow() self.ranking = self.confidence(self.up_votes, self.down_votes) user.recalculate_attitude() db.session.commit()