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 a4e71c9 commit 8548161Copy full SHA for 8548161
graph/notifications.go
@@ -170,10 +170,10 @@ func PushEventNotifications(notif model.EventNotif) error {
170
} else if len(m) > 0 {
171
notif.Rootnameid = m[0]["rootnameid"].(string)
172
notif.Receiverid = m[0]["receiverid"].(string)
173
- notif.Msg, _ = m[0]["message"].(string)
174
notif.Title = m[0]["title"].(string)
+ notif.Msg, _ = m[0]["message"].(string)
175
176
- if notif.Msg != "" {
+ if notif.Msg != "" && notif.HasEvent(model.TensionEventCommentPushed) {
177
// Mentioned users
178
err = UpdateWithMentionnedUser(notif.Msg, notif.Receiverid, users)
179
if err != nil { return err }
0 commit comments