notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit c94a4184747755274980a3c1d9c35ef953d1dca8
parent 28065ec4a3a34ea4cb397b26f47b220dff73eca4
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 14 Jul 2025 19:18:17 -0700

media/trust: always show if its yourself

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mcrates/notedeck_ui/src/note/contents.rs | 18+++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/crates/notedeck_ui/src/note/contents.rs b/crates/notedeck_ui/src/note/contents.rs @@ -301,11 +301,19 @@ pub fn render_note_contents( ui.add_space(2.0); let carousel_id = egui::Id::new(("carousel", note.key().expect("expected tx note"))); - let trusted_media = note_context - .accounts - .get_selected_account() - .is_following(note.pubkey()) - == IsFollowing::Yes; + let is_self = note.pubkey() + == note_context + .accounts + .get_selected_account() + .key + .pubkey + .bytes(); + let trusted_media = is_self + || note_context + .accounts + .get_selected_account() + .is_following(note.pubkey()) + == IsFollowing::Yes; media_action = image_carousel( ui,