summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 48273f2..8700ac4 100644
--- a/html.c
+++ b/html.c
@@ -2454,8 +2454,8 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2454 xs *sfrl = xs_dict_new(); 2454 xs *sfrl = xs_dict_new();
2455 xs *rl = object_get_emoji_reacts(id); 2455 xs *rl = object_get_emoji_reacts(id);
2456 2456
2457 xs_dict *m = NULL;
2458 while (xs_list_next(rl, &v, &c)) { 2457 while (xs_list_next(rl, &v, &c)) {
2458 xs *m = NULL;
2459 if (valid_status(object_get_by_md5(v, &m))) { 2459 if (valid_status(object_get_by_md5(v, &m))) {
2460 const char *content = xs_dict_get(m, "content"); 2460 const char *content = xs_dict_get(m, "content");
2461 const char *actor = xs_dict_get(m, "actor"); 2461 const char *actor = xs_dict_get(m, "actor");
@@ -2490,6 +2490,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
2490 c = 0; 2490 c = 0;
2491 2491
2492 while (xs_list_next(rl, &k, &c)) { 2492 while (xs_list_next(rl, &k, &c)) {
2493 xs *m = NULL;
2493 if (valid_status(object_get_by_md5(k, &m))) { 2494 if (valid_status(object_get_by_md5(k, &m))) {
2494 const xs_dict *tag = xs_dict_get(m, "tag"); 2495 const xs_dict *tag = xs_dict_get(m, "tag");
2495 const xs_dict *ide = xs_dict_get(m, "id"); 2496 const xs_dict *ide = xs_dict_get(m, "id");