diff options
| author | 2024-06-07 07:03:15 +0000 | |
|---|---|---|
| committer | 2024-06-07 07:03:15 +0000 | |
| commit | aba3c7b50e2e2255432881ed0fd6077be0df04bb (patch) | |
| tree | 6ad7d8a54239287a8c69b18250b4dfed0a2578bf /data.c | |
| parent | Fixed CW dropdown in public instance timeline. (diff) | |
| parent | mastoapi: fix create list response & duplicate actor adding (diff) | |
| download | snac2-aba3c7b50e2e2255432881ed0fd6077be0df04bb.tar.gz snac2-aba3c7b50e2e2255432881ed0fd6077be0df04bb.tar.xz snac2-aba3c7b50e2e2255432881ed0fd6077be0df04bb.zip | |
Merge pull request 'mastoapi: fix get list response & duplicate actor adding' (#180) from louis77/snac2:fix-lists into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/180
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1925,7 +1925,7 @@ xs_val *list_content(snac *user, const char *list, const char *actor_md5, int op | |||
| 1925 | 1925 | ||
| 1926 | case 1: /** append actor to list **/ | 1926 | case 1: /** append actor to list **/ |
| 1927 | if (actor_md5 != NULL) { | 1927 | if (actor_md5 != NULL) { |
| 1928 | if (!index_in(fn, actor_md5)) | 1928 | if (!index_in_md5(fn, actor_md5)) |
| 1929 | index_add_md5(fn, actor_md5); | 1929 | index_add_md5(fn, actor_md5); |
| 1930 | } | 1930 | } |
| 1931 | 1931 | ||