summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
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 */
/* ... */
}