
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/7167 - Replies to pending review comments no longer generate a notification, this was caused by an incomplete determination if the comment was part of the pending review or not. - The logic was reworked to do the following if it's part of a pending review: It is not a single review and if it's a reply then the comment it is replying to is part of a pending review. - Added integration test. - Resolves forgejo/forgejo#7151 Co-authored-by: Gusted <postmaster@gusted.xyz> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7178 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org> Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
25 lines
429 B
YAML
25 lines
429 B
YAML
-
|
|
id: 1001
|
|
type: 21 # code comment
|
|
poster_id: 2
|
|
issue_id: 2
|
|
content: "Still pending"
|
|
review_id: 1002
|
|
line: 4
|
|
tree_path: "README.md"
|
|
created_unix: 1730000000
|
|
invalidated: false
|
|
content_version: 1
|
|
|
|
-
|
|
id: 1002
|
|
type: 21 # code comment
|
|
poster_id: 2
|
|
issue_id: 2
|
|
content: "Visible"
|
|
review_id: 1001
|
|
line: 3
|
|
tree_path: "README.md"
|
|
created_unix: 1720000000
|
|
invalidated: false
|
|
content_version: 1
|