diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-11-08 09:10:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 09:10:59 -0800 |
commit | e75b2d508baf9b19e7340657ac2951e9f057b735 (patch) | |
tree | 2c9647d9dc3d47261e4e838313c4b815f622fb6a /src/state/persisted/schema.ts | |
parent | 74f8390f1d879350ebb6516fade2b1d83d1601e7 (diff) | |
download | voidsky-e75b2d508baf9b19e7340657ac2951e9f057b735.tar.zst |
Move invite-state to new persistence + context and replace the notifications with just showing uses in the modal (#1840)
Diffstat (limited to 'src/state/persisted/schema.ts')
-rw-r--r-- | src/state/persisted/schema.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/state/persisted/schema.ts b/src/state/persisted/schema.ts index 708930610..9c52661e4 100644 --- a/src/state/persisted/schema.ts +++ b/src/state/persisted/schema.ts @@ -29,8 +29,7 @@ export const schema = z.object({ }), requireAltTextEnabled: z.boolean(), // should move to server mutedThreads: z.array(z.string()), // should move to server - invitedUsers: z.object({ - seenDids: z.array(z.string()), + invites: z.object({ copiedInvites: z.array(z.string()), }), onboarding: z.object({ @@ -58,8 +57,7 @@ export const defaults: Schema = { }, requireAltTextEnabled: false, mutedThreads: [], - invitedUsers: { - seenDids: [], + invites: { copiedInvites: [], }, onboarding: { |