mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
Execute new_vote on comments as well.
This fixes user page top comments of all time listings not being updated.
This commit is contained in:
@@ -1437,9 +1437,10 @@ def handle_vote(user, thing, dir, ip, organic,
|
||||
g.log.error("duplicate vote for: %s" % str((user, thing, dir)))
|
||||
return
|
||||
|
||||
new_vote(v, foreground=foreground, timer=timer)
|
||||
|
||||
timestamps = []
|
||||
if isinstance(thing, Link):
|
||||
new_vote(v, foreground=foreground, timer=timer)
|
||||
|
||||
#update the modified flags
|
||||
if user._id == thing.author_id:
|
||||
|
||||
Reference in New Issue
Block a user