commit 0980302

default  ·  2025-02-11 18:40:30 +0000 UTC
parent 2f4e7a2
Don't show the bookmark emoji to strangers.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -1839,7 +1839,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2                 xs_html_raw(" 📌 ")));
3     }
4 
5-    if (user && is_bookmarked(user, id)) {
6+    if (user && !read_only && is_bookmarked(user, id)) {
7         /* add a bookmark emoji */
8         xs_html_add(score,
9             xs_html_tag("span",