Don't show follows you for own profile
Changelog-Fixed: Don't show follows you for your own profile Closes: #740
This commit is contained in:
committed by
William Casarin
parent
ba82f19a11
commit
487419d098
@@ -329,7 +329,7 @@ struct ProfileView: View {
|
||||
actionSection(profile_data: profile_data)
|
||||
}
|
||||
|
||||
let follows_you = profile.follows(pubkey: damus_state.pubkey)
|
||||
let follows_you = profile.pubkey != damus_state.pubkey && profile.follows(pubkey: damus_state.pubkey)
|
||||
ProfileNameView(pubkey: profile.pubkey, profile: profile_data, follows_you: follows_you, damus: damus_state)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user