make Contacts::is_following use bytes instead of Pubkey

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-07-14 21:14:01 -04:00
parent a7f5319fde
commit 142aa879c3
3 changed files with 6 additions and 6 deletions

View File

@@ -178,7 +178,7 @@ impl<'a, 'd> ProfileView<'a, 'd> {
} else if &selected.key.pubkey == self.pubkey {
ProfileType::MyProfile
} else {
ProfileType::Followable(selected.is_following(target_key))
ProfileType::Followable(selected.is_following(target_key.bytes()))
};
match profile_type {