summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index 31d8d97..3b63cfc 100644
--- a/html.c
+++ b/html.c
@@ -3074,7 +3074,9 @@ xs_str *html_notifications(snac *user, int skip, int show)
3074 3074
3075 /* store in the admiration labels dict */ 3075 /* store in the admiration labels dict */
3076 xs *pl = xs_data_new(&html_label, sizeof(html_label)); 3076 xs *pl = xs_data_new(&html_label, sizeof(html_label));
3077 admiration_labels = xs_dict_set(admiration_labels, msg_id, pl); 3077
3078 if (xs_is_string(msg_id))
3079 admiration_labels = xs_dict_set(admiration_labels, msg_id, pl);
3078 3080
3079 entry = xs_html_tag("div", 3081 entry = xs_html_tag("div",
3080 xs_html_attr("class", "snac-post-with-desc"), 3082 xs_html_attr("class", "snac-post-with-desc"),