diff options
| author | 2025-02-11 19:40:30 +0100 | |
|---|---|---|
| committer | 2025-02-11 19:40:30 +0100 | |
| commit | 09803021648ea958a889cc2aa743d5f8c65ecbae (patch) | |
| tree | 13eec09260b418affafbdca870ab425d4c3a50a7 | |
| parent | Bumped version. (diff) | |
| download | snac2-09803021648ea958a889cc2aa743d5f8c65ecbae.tar.gz snac2-09803021648ea958a889cc2aa743d5f8c65ecbae.tar.xz snac2-09803021648ea958a889cc2aa743d5f8c65ecbae.zip | |
Don't show the bookmark emoji to strangers.
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1839,7 +1839,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 1839 | xs_html_raw(" 📌 "))); | 1839 | xs_html_raw(" 📌 "))); |
| 1840 | } | 1840 | } |
| 1841 | 1841 | ||
| 1842 | if (user && is_bookmarked(user, id)) { | 1842 | if (user && !read_only && is_bookmarked(user, id)) { |
| 1843 | /* add a bookmark emoji */ | 1843 | /* add a bookmark emoji */ |
| 1844 | xs_html_add(score, | 1844 | xs_html_add(score, |
| 1845 | xs_html_tag("span", | 1845 | xs_html_tag("span", |