aboutsummaryrefslogtreecommitdiff
path: root/userapi/storage/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/storage/interface.go')
-rw-r--r--userapi/storage/interface.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/userapi/storage/interface.go b/userapi/storage/interface.go
index 6d22fea9..77706710 100644
--- a/userapi/storage/interface.go
+++ b/userapi/storage/interface.go
@@ -97,6 +97,7 @@ type Database interface {
GetNotifications(ctx context.Context, localpart string, fromID int64, limit int, filter tables.NotificationFilter) ([]*api.Notification, int64, error)
GetNotificationCount(ctx context.Context, localpart string, filter tables.NotificationFilter) (int64, error)
GetRoomNotificationCounts(ctx context.Context, localpart, roomID string) (total int64, highlight int64, _ error)
+ DeleteOldNotifications(ctx context.Context) error
UpsertPusher(ctx context.Context, p api.Pusher, localpart string) error
GetPushers(ctx context.Context, localpart string) ([]api.Pusher, error)