1
0
mirror of git://jb55.com/damus synced 2024-10-06 03:33:22 +00:00

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:
benthecarman 2023-03-05 22:14:04 -06:00 committed by William Casarin
parent ba82f19a11
commit 487419d098

View File

@ -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)
}
}