aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-11 19:40:30 +0100
committerdefault <nobody@localhost>2025-02-11 19:40:30 +0100
commit09803021648ea958a889cc2aa743d5f8c65ecbae (patch)
tree13eec09260b418affafbdca870ab425d4c3a50a7
parent2f4e7a21dc7fc2096b37179a677c1a765409cb51 (diff)
Don't show the bookmark emoji to strangers.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index e742e94..7b6495b 100644
--- 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",