From 487419d098f509b479764ad9f9cf6fdfe0ea63d5 Mon Sep 17 00:00:00 2001 From: benthecarman <15256660+benthecarman@users.noreply.github.com> Date: Sun, 5 Mar 2023 22:14:04 -0600 Subject: [PATCH] Don't show follows you for own profile Changelog-Fixed: Don't show follows you for your own profile Closes: #740 --- damus/Views/ProfileView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift index 23dfd283..b6b05fa5 100644 --- a/damus/Views/ProfileView.swift +++ b/damus/Views/ProfileView.swift @@ -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) } }