From 07fec7127326cf02d50bd148581908d51cc697f6 Mon Sep 17 00:00:00 2001
From: default
Date: Mon, 28 Nov 2022 10:46:42 +0100
Subject: Upgraded followers to the new db.
---
html.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
(limited to 'html.c')
diff --git a/html.c b/html.c
index b854717..ea154dd 100644
--- a/html.c
+++ b/html.c
@@ -840,13 +840,12 @@ d_char *html_people_list(snac *snac, d_char *os, d_char *list, const char *heade
{
xs *s = xs_str_new(NULL);
xs *h = xs_fmt("
%s
\n", header);
- char *p, *v;
+ char *p, *actor_id;
s = xs_str_cat(s, h);
p = list;
- while (xs_list_iter(&p, &v)) {
- char *actor_id = xs_dict_get(v, "actor");
+ while (xs_list_iter(&p, &actor_id)) {
xs *md5 = xs_md5_hex(actor_id, strlen(actor_id));
xs *actor = NULL;
@@ -939,7 +938,7 @@ d_char *html_people(snac *snac)
s = html_user_header(snac, s, 0);
- s = html_people_list(snac, s, wing, L("People you follow"), "i");
+// s = html_people_list(snac, s, wing, L("People you follow"), "i");
s = html_people_list(snac, s, wers, L("People that follows you"), "e");
--
cgit v1.2.3