summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 8f9e01a..3806353 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -311,6 +311,12 @@ int timeline_request(snac *snac, char **id, xs_str **wrk, int level)
311 if (level < MAX_CONVERSATION_LEVELS && !xs_is_null(*id)) { 311 if (level < MAX_CONVERSATION_LEVELS && !xs_is_null(*id)) {
312 xs *msg = NULL; 312 xs *msg = NULL;
313 313
314 /* from a blocked instance? discard and break */
315 if (is_instance_blocked(*id)) {
316 snac_debug(snac, 1, xs_fmt("timeline_request blocked instance %s", *id));
317 return status;
318 }
319
314 /* is the object already there? */ 320 /* is the object already there? */
315 if (!valid_status(object_get(*id, &msg))) { 321 if (!valid_status(object_get(*id, &msg))) {
316 /* no; download it */ 322 /* no; download it */