chore: some notification fixes

This commit is contained in:
2024-04-29 13:52:07 +01:00
parent b199d1a366
commit a6707c111f
4 changed files with 18 additions and 9 deletions

View File

@ -18,7 +18,10 @@ export class DiffSyncTags extends EventEmitter<SafeSyncEvents> {
#changesEncrypted: Array<TagDiff> = [];
#decryptedContent?: string;
constructor(readonly link: NostrLink, readonly contentEncrypted: boolean) {
constructor(
readonly link: NostrLink,
readonly contentEncrypted: boolean,
) {
super();
this.#sync = new SafeSync(link);
this.#sync.on("change", () => {