summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-26 07:13:39 +0200
committerdefault <nobody@localhost>2022-09-26 07:13:39 +0200
commitd1a2a7438dddc898b794a7a9b3b0961afc1a36e4 (patch)
tree09586a035fb76a7c1ddaa78e3573629ea3b1c5cf /activitypub.c
parentb5be6a017220820f48e896531737d07122364621 (diff)
New metadata 'referrer', that contains an actor.
This field contains the actor that boosted an entry.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index 13d7d85..4b2947e 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -91,7 +91,7 @@ void timeline_request(snac *snac, char *id)
timeline_request(snac, in_reply_to);
/* finally store */
- timeline_add(snac, id, object, in_reply_to);
+ timeline_add(snac, id, object, in_reply_to, NULL);
}
}
}
@@ -282,7 +282,7 @@ void process_message(snac *snac, char *msg, char *req)
timeline_request(snac, in_reply_to);
- if (timeline_add(snac, id, msg, in_reply_to))
+ if (timeline_add(snac, id, msg, in_reply_to, NULL))
snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id));
}
}