We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dfde36 commit 3bde297Copy full SHA for 3bde297
modules/convert/notification.go
@@ -47,6 +47,11 @@ func ToNotificationThread(n *models.Notification) *api.NotificationThread {
47
if err == nil && comment != nil {
48
result.Subject.LatestCommentURL = comment.APIURL()
49
}
50
+
51
+ pr, _ := n.Issue.GetPullRequest()
52
+ if pr != nil && pr.HasMerged {
53
+ result.Subject.State = "merged"
54
+ }
55
56
case models.NotificationSourceCommit:
57
result.Subject = &api.NotificationSubject{
0 commit comments