Revert "mute: migrating muted_threads to new mute list"

This reverts commit f341a37902.
This commit is contained in:
William Casarin
2024-01-25 12:09:49 -08:00
parent 56b1efc6f1
commit 719cec449c
15 changed files with 81 additions and 37 deletions

View File

@@ -11,6 +11,7 @@ struct NotificationExtensionState: HeadlessDamusState {
let ndb: Ndb
let settings: UserSettingsStore
let contacts: Contacts
let muted_threads: MutedThreadsManager
let keypair: Keypair
let profiles: Profiles
let zaps: Zaps
@@ -27,6 +28,7 @@ struct NotificationExtensionState: HeadlessDamusState {
self.settings = UserSettingsStore()
self.contacts = Contacts(our_pubkey: keypair.pubkey)
self.muted_threads = MutedThreadsManager(keypair: keypair)
self.keypair = keypair
self.profiles = Profiles(ndb: ndb)
self.zaps = Zaps(our_pubkey: keypair.pubkey)