From 4f328eec1f428d4e87adeb4c4eaf1e81afe26913 Mon Sep 17 00:00:00 2001 From: default Date: Sun, 25 Sep 2022 09:07:43 +0200 Subject: Some fixes to timeline_add(). --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index a6fa645..ba45395 100644 --- a/activitypub.c +++ b/activitypub.c @@ -204,7 +204,7 @@ void process_message(snac *snac, char *msg, char *req) char *id = xs_dict_get(object, "id"); char *in_reply_to = xs_dict_get(object, "inReplyTo"); - if (in_reply_to != NULL) { + if (xs_is_null(in_reply_to)) { /* recursively download ancestors */ /* ... */ } -- cgit v1.2.3