summaryrefslogtreecommitdiff
path: root/internal/cache/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache/db.go')
-rw-r--r--internal/cache/db.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cache/db.go b/internal/cache/db.go
index ac16e26c5..78cc01e06 100644
--- a/internal/cache/db.go
+++ b/internal/cache/db.go
@@ -1155,7 +1155,7 @@ func (c *Caches) initNotification() {
c.DB.Notification.Init(structr.CacheConfig[*gtsmodel.Notification]{
Indices: []structr.IndexConfig{
{Fields: "ID"},
- {Fields: "NotificationType,TargetAccountID,OriginAccountID,StatusID", AllowZero: true},
+ {Fields: "NotificationType,TargetAccountID,OriginAccountID,StatusOrEditID", AllowZero: true},
},
MaxSize: cap,
IgnoreErr: ignoreErrors,