refactor: replace nip96 with blossom
feat: blossom fallback image loader
This commit is contained in:
@ -107,7 +107,7 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
|
||||
},
|
||||
stateObj,
|
||||
);
|
||||
stateClass.checkIsStandardList(EventKind.StorageServerList); // track nip96 list
|
||||
stateClass.checkIsStandardList(EventKind.BlossomServerList); // track blossom list
|
||||
stateClass.on("change", () => this.#save());
|
||||
if (v.state instanceof UserState) {
|
||||
v.state.destroy();
|
||||
@ -194,7 +194,7 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
|
||||
stalker: stalker ?? false,
|
||||
} as LoginSession;
|
||||
|
||||
newSession.state!.checkIsStandardList(EventKind.StorageServerList); // track nip96 list
|
||||
newSession.state!.checkIsStandardList(EventKind.BlossomServerList); // track blossom list
|
||||
newSession.state!.on("change", () => this.#save());
|
||||
const pub = createPublisher(newSession);
|
||||
if (pub) {
|
||||
@ -243,7 +243,7 @@ export class MultiAccountStore extends ExternalStore<LoginSession> {
|
||||
appdataId: "snort",
|
||||
}),
|
||||
} as LoginSession;
|
||||
newSession.state!.checkIsStandardList(EventKind.StorageServerList); // track nip96 list
|
||||
newSession.state!.checkIsStandardList(EventKind.BlossomServerList); // track blossom list
|
||||
newSession.state!.on("change", () => this.#save());
|
||||
|
||||
if ("nostr_os" in window && window?.nostr_os) {
|
||||
|
Reference in New Issue
Block a user