Revert "mute: adding filtering support for MuteItem events"

This reverts commit 61a9e44898.
This commit is contained in:
William Casarin
2024-01-25 12:10:08 -08:00
parent 356ef45b91
commit b5c384da43
11 changed files with 49 additions and 43 deletions

View File

@@ -8,7 +8,7 @@
import Foundation
struct NewMutesNotify: Notify {
typealias Payload = Set<MuteItem>
typealias Payload = Set<Pubkey>
var payload: Payload
}
@@ -19,7 +19,7 @@ extension NotifyHandler {
}
extension Notifications {
static func new_mutes(_ pubkeys: Set<MuteItem>) -> Notifications<NewMutesNotify> {
static func new_mutes(_ pubkeys: Set<Pubkey>) -> Notifications<NewMutesNotify> {
.init(.init(payload: pubkeys))
}
}