forked from MarseyWorld/MarseyWorld
actually fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3295805
parent
4d1183f3ec
commit
97476a604e
|
@ -305,7 +305,7 @@ def notifications(v:User):
|
|||
c.unread = True
|
||||
g.db.add(n)
|
||||
|
||||
if c.parent_submission:
|
||||
if c.parent_submission or c.wall_user_id:
|
||||
if c.replies2 == None:
|
||||
c.replies2 = g.db.query(Comment).filter_by(parent_comment_id=c.id).filter(or_(Comment.author_id == v.id, Comment.id.in_(cids))).order_by(Comment.id.desc()).all()
|
||||
total.extend(c.replies2)
|
||||
|
|
Loading…
Reference in New Issue