snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 09803021648ea958a889cc2aa743d5f8c65ecbae
parent 2f4e7a21dc7fc2096b37179a677c1a765409cb51
Author: default <nobody@localhost>
Date:   Tue, 11 Feb 2025 19:40:30 +0100

Don't show the bookmark emoji to strangers.

Diffstat:
Mhtml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html.c b/html.c @@ -1839,7 +1839,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, xs_html_raw(" &#128204; "))); } - if (user && is_bookmarked(user, id)) { + if (user && !read_only && is_bookmarked(user, id)) { /* add a bookmark emoji */ xs_html_add(score, xs_html_tag("span",