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 <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy
2026-02-18 23:36:05 -06:00
parent 3145bdd552
commit da5835b77d
+2 -2
View File
@@ -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),