diff options
| author | 2024-12-04 05:53:12 +0100 | |
|---|---|---|
| committer | 2024-12-04 05:53:12 +0100 | |
| commit | e0ba66a53e8cd89b900b895675588c29d5bb7a2d (patch) | |
| tree | 70823c90d3d8bdfc11b681fe8aa0d4884d3111e4 /mastoapi.c | |
| parent | Fixed bug in blocked instance rejection. (diff) | |
| download | penes-snac2-e0ba66a53e8cd89b900b895675588c29d5bb7a2d.tar.gz penes-snac2-e0ba66a53e8cd89b900b895675588c29d5bb7a2d.tar.xz penes-snac2-e0ba66a53e8cd89b900b895675588c29d5bb7a2d.zip | |
Check for existing id.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1349,7 +1349,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn | |||
| 1349 | if (!xs_match(type, POSTLIKE_OBJECT_TYPE)) | 1349 | if (!xs_match(type, POSTLIKE_OBJECT_TYPE)) |
| 1350 | continue; | 1350 | continue; |
| 1351 | 1351 | ||
| 1352 | if (is_instance_blocked(id)) | 1352 | if (id && is_instance_blocked(id)) |
| 1353 | continue; | 1353 | continue; |
| 1354 | 1354 | ||
| 1355 | const char *from = NULL; | 1355 | const char *from = NULL; |