Revert "mute: adding filtering support for MuteItem events"
This reverts commit 61a9e44898.
This commit is contained in:
@@ -179,7 +179,7 @@ struct ProfileView: View {
|
||||
notify(.report(.user(profile.pubkey)))
|
||||
}
|
||||
|
||||
if damus_state.contacts.is_muted(.user(profile.pubkey, nil)) {
|
||||
if damus_state.contacts.is_muted(profile.pubkey) {
|
||||
Button(NSLocalizedString("Unmute", comment: "Button to unmute a profile.")) {
|
||||
guard
|
||||
let keypair = damus_state.keypair.to_full(),
|
||||
@@ -197,7 +197,7 @@ struct ProfileView: View {
|
||||
}
|
||||
} else {
|
||||
Button(NSLocalizedString("Mute", comment: "Button to mute a profile."), role: .destructive) {
|
||||
notify(.mute(.user(profile.pubkey, nil)))
|
||||
notify(.mute(profile.pubkey))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user