remove notification deleting for disjoining notif chains

pull/222/head
Aevann 2024-02-13 12:55:21 +02:00
parent 80747dc7d1
commit de7a88e90f
1 changed files with 0 additions and 8 deletions

View File

@ -408,14 +408,6 @@ def comment(v):
post_target.bump_utc = c.created_utc
g.db.add(post_target)
if c.level >= 3 and c.parent_comment.author_id in notify_users:
n = g.db.query(Notification).filter_by(
comment_id=c.parent_comment.parent_comment_id,
user_id=c.parent_comment.author_id,
read=True,
).one_or_none()
if n: g.db.delete(n)
g.db.flush()
if c.parent_post: