Add muting and mutelists

- Filter muted posts from feed on mute
- List muted users in sidebar

Changelog-Added: Added ability to block users
This commit is contained in:
William Casarin
2023-01-25 12:50:04 -08:00
parent 2a8b9f75c1
commit 214e45a98b
14 changed files with 349 additions and 39 deletions

View File

@@ -383,6 +383,10 @@ struct ProfileView: View {
let target: ReportTarget = .user(profile.pubkey)
notify(.report, target)
}
Button("Block") {
notify(.block, profile.pubkey)
}
}
.ignoresSafeArea()
}