Fix PostView initial string to skip mentioning self when on own profile
Changelog-Fixed: Fix PostView initial string to skip mentioning self when on own profile Signed-off-by: Terry Yiu <git@tyiu.xyz> Reviewed-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -190,7 +190,8 @@ struct PostView: View {
|
||||
|
||||
func initialString() -> NSMutableAttributedString {
|
||||
guard case .posting(let target) = action,
|
||||
case .user(let pubkey) = target else {
|
||||
case .user(let pubkey) = target,
|
||||
damus_state.pubkey != pubkey else {
|
||||
return .init(string: "")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user