From da5835b77d62724309cc8721e4e2f34c6c105373 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Wed, 18 Feb 2026 23:36:05 -0600 Subject: [PATCH] Rename encrypted settings d-tag to mew-metadata Changed from 'mew-settings' to 'mew-metadata' to better reflect that this event stores various types of app state including settings, notification cursor, and other metadata. Co-authored-by: shakespeare.diy --- src/hooks/useEncryptedSettings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/useEncryptedSettings.ts b/src/hooks/useEncryptedSettings.ts index bf928573..cd2ee18b 100644 --- a/src/hooks/useEncryptedSettings.ts +++ b/src/hooks/useEncryptedSettings.ts @@ -6,7 +6,7 @@ import { useCurrentUser } from './useCurrentUser'; import type { Theme, FeedSettings } from '@/contexts/AppContext'; import type { ContentFilter } from './useContentFilters'; -const SETTINGS_D_TAG = 'mew-settings'; +const SETTINGS_D_TAG = 'mew-metadata'; /** * Timestamp of last local write. NostrSync should skip applying @@ -120,7 +120,7 @@ export function useEncryptedSettings() { content: encrypted, tags: [ ['d', SETTINGS_D_TAG], - ['title', 'Mew Settings'], + ['title', 'Mew Metadata'], ['client', location.hostname], ], created_at: Math.floor(Date.now() / 1000),