diff options
| author | 2022-11-28 10:46:42 +0100 | |
|---|---|---|
| committer | 2022-11-28 10:46:42 +0100 | |
| commit | 07fec7127326cf02d50bd148581908d51cc697f6 (patch) | |
| tree | c62856673c0e80a71782fa3bd4f8452e5132638e /html.c | |
| parent | New function object_user_cache_in(). (diff) | |
| download | snac2-07fec7127326cf02d50bd148581908d51cc697f6.tar.gz snac2-07fec7127326cf02d50bd148581908d51cc697f6.tar.xz snac2-07fec7127326cf02d50bd148581908d51cc697f6.zip | |
Upgraded followers to the new db.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -840,13 +840,12 @@ d_char *html_people_list(snac *snac, d_char *os, d_char *list, const char *heade | |||
| 840 | { | 840 | { |
| 841 | xs *s = xs_str_new(NULL); | 841 | xs *s = xs_str_new(NULL); |
| 842 | xs *h = xs_fmt("<h2>%s</h2>\n", header); | 842 | xs *h = xs_fmt("<h2>%s</h2>\n", header); |
| 843 | char *p, *v; | 843 | char *p, *actor_id; |
| 844 | 844 | ||
| 845 | s = xs_str_cat(s, h); | 845 | s = xs_str_cat(s, h); |
| 846 | 846 | ||
| 847 | p = list; | 847 | p = list; |
| 848 | while (xs_list_iter(&p, &v)) { | 848 | while (xs_list_iter(&p, &actor_id)) { |
| 849 | char *actor_id = xs_dict_get(v, "actor"); | ||
| 850 | xs *md5 = xs_md5_hex(actor_id, strlen(actor_id)); | 849 | xs *md5 = xs_md5_hex(actor_id, strlen(actor_id)); |
| 851 | xs *actor = NULL; | 850 | xs *actor = NULL; |
| 852 | 851 | ||
| @@ -939,7 +938,7 @@ d_char *html_people(snac *snac) | |||
| 939 | 938 | ||
| 940 | s = html_user_header(snac, s, 0); | 939 | s = html_user_header(snac, s, 0); |
| 941 | 940 | ||
| 942 | s = html_people_list(snac, s, wing, L("People you follow"), "i"); | 941 | // s = html_people_list(snac, s, wing, L("People you follow"), "i"); |
| 943 | 942 | ||
| 944 | s = html_people_list(snac, s, wers, L("People that follows you"), "e"); | 943 | s = html_people_list(snac, s, wers, L("People that follows you"), "e"); |
| 945 | 944 | ||