summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index c0377e6348..ff7df26c9d 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -448,7 +448,7 @@ func (issue *Issue) ReadBy(userID int64) error {
return err
}
- if err := setNotificationStatusRead(x, userID, issue.ID); err != nil {
+ if err := setNotificationStatusReadIfUnread(x, userID, issue.ID); err != nil {
return err
}