summaryrefslogtreecommitdiff
path: root/internal/processing/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/notification.go')
-rw-r--r--internal/processing/notification.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/notification.go b/internal/processing/notification.go
index 36cd81b91..44e3885b5 100644
--- a/internal/processing/notification.go
+++ b/internal/processing/notification.go
@@ -23,10 +23,10 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/oauth"
)
-func (p *processor) NotificationsGet(authed *oauth.Auth, limit int, maxID string) ([]*apimodel.Notification, ErrorWithCode) {
+func (p *processor) NotificationsGet(authed *oauth.Auth, limit int, maxID string, sinceID string) ([]*apimodel.Notification, ErrorWithCode) {
l := p.log.WithField("func", "NotificationsGet")
- notifs, err := p.db.GetNotificationsForAccount(authed.Account.ID, limit, maxID)
+ notifs, err := p.db.GetNotificationsForAccount(authed.Account.ID, limit, maxID, sinceID)
if err != nil {
return nil, NewErrorInternalError(err)
}