[bugfix] Rework notifs to use min_id for paging up (#1734)

This commit is contained in:
tobi
2023-05-04 12:27:24 +02:00
committed by GitHub
parent a6ec2a5bc2
commit 4a012acd52
8 changed files with 160 additions and 84 deletions

View File

@@ -36,12 +36,10 @@ const (
// ExcludeTypes is an array specifying notification types to exclude
ExcludeTypesKey = "exclude_types[]"
// MaxIDKey is the url query for setting a max notification ID to return
MaxIDKey = "max_id"
// LimitKey is for specifying maximum number of notifications to return.
LimitKey = "limit"
// SinceIDKey is for specifying the minimum notification ID to return.
SinceIDKey = "since_id"
MaxIDKey = "max_id"
LimitKey = "limit"
SinceIDKey = "since_id"
MinIDKey = "min_id"
)
type Module struct {