summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-25 09:07:43 +0200
committerdefault <nobody@localhost>2022-09-25 09:07:43 +0200
commit4f328eec1f428d4e87adeb4c4eaf1e81afe26913 (patch)
treea3636038d0347efb593f1bf580fbe67d3ab0bed1 /activitypub.c
parent5792ef5d24bd58f5c74a37c43d80720c46a6758a (diff)
Some fixes to timeline_add().
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 */
/* ... */
}