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/models/root-store.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/models/root-store.ts')
-rw-r--r-- | src/state/models/root-store.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts index fadd279fc..d11e9a148 100644 --- a/src/state/models/root-store.ts +++ b/src/state/models/root-store.ts @@ -15,7 +15,6 @@ import {ProfilesCache} from './cache/profiles-view' import {PostsCache} from './cache/posts' import {LinkMetasCache} from './cache/link-metas' import {MeModel} from './me' -import {InvitedUsers} from './invited-users' import {PreferencesModel} from './ui/preferences' import {resetToTab} from '../../Navigation' import {ImageSizesCache} from './cache/image-sizes' @@ -42,7 +41,6 @@ export class RootStoreModel { shell = new ShellUiModel(this) preferences = new PreferencesModel(this) me = new MeModel(this) - invitedUsers = new InvitedUsers(this) handleResolutions = new HandleResolutionsCache() profiles = new ProfilesCache(this) posts = new PostsCache(this) @@ -68,7 +66,6 @@ export class RootStoreModel { session: this.session.serialize(), me: this.me.serialize(), preferences: this.preferences.serialize(), - invitedUsers: this.invitedUsers.serialize(), } } @@ -89,9 +86,6 @@ export class RootStoreModel { if (hasProp(v, 'preferences')) { this.preferences.hydrate(v.preferences) } - if (hasProp(v, 'invitedUsers')) { - this.invitedUsers.hydrate(v.invitedUsers) - } } } |