From aab907017f9fcecfcedf02d9cb394c6300eecf76 Mon Sep 17 00:00:00 2001 From: Ashutosh Saxena <182192262+AlgoArtist06@users.noreply.github.com> Date: Mon, 13 Jul 2026 17:16:37 +0530 Subject: [PATCH] chore(models): remove obsolete notification indexes --- packages/models/src/models/Subscriptions.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/models/src/models/Subscriptions.ts b/packages/models/src/models/Subscriptions.ts index fe78d87bc2ae7..c58f920d089c3 100644 --- a/packages/models/src/models/Subscriptions.ts +++ b/packages/models/src/models/Subscriptions.ts @@ -46,10 +46,6 @@ export class SubscriptionsRaw extends BaseRaw implements ISubscri { key: { alert: 1 } }, { key: { ts: 1 } }, { key: { ls: 1 } }, - // TODO: remove these indexes in the next major release (8.0.0) - their only consumers (the per-room notification-preference finders) were removed - // { key: { desktopNotifications: 1 }, sparse: true }, - // { key: { mobilePushNotifications: 1 }, sparse: true }, - // { key: { emailNotifications: 1 }, sparse: true }, { key: { autoTranslate: 1 }, sparse: true }, { key: { autoTranslateLanguage: 1 }, sparse: true }, { key: { 'userHighlights.0': 1 }, sparse: true },