diff options
| author | 2022-09-26 07:13:39 +0200 | |
|---|---|---|
| committer | 2022-09-26 07:13:39 +0200 | |
| commit | d1a2a7438dddc898b794a7a9b3b0961afc1a36e4 (patch) | |
| tree | 09586a035fb76a7c1ddaa78e3573629ea3b1c5cf /activitypub.c | |
| parent | Return the correct content-type. (diff) | |
| download | snac2-d1a2a7438dddc898b794a7a9b3b0961afc1a36e4.tar.gz snac2-d1a2a7438dddc898b794a7a9b3b0961afc1a36e4.tar.xz snac2-d1a2a7438dddc898b794a7a9b3b0961afc1a36e4.zip | |
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.c | 4 |
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) | |||
| 91 | timeline_request(snac, in_reply_to); | 91 | timeline_request(snac, in_reply_to); |
| 92 | 92 | ||
| 93 | /* finally store */ | 93 | /* finally store */ |
| 94 | timeline_add(snac, id, object, in_reply_to); | 94 | timeline_add(snac, id, object, in_reply_to, NULL); |
| 95 | } | 95 | } |
| 96 | } | 96 | } |
| 97 | } | 97 | } |
| @@ -282,7 +282,7 @@ void process_message(snac *snac, char *msg, char *req) | |||
| 282 | 282 | ||
| 283 | timeline_request(snac, in_reply_to); | 283 | timeline_request(snac, in_reply_to); |
| 284 | 284 | ||
| 285 | if (timeline_add(snac, id, msg, in_reply_to)) | 285 | if (timeline_add(snac, id, msg, in_reply_to, NULL)) |
| 286 | snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id)); | 286 | snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id)); |
| 287 | } | 287 | } |
| 288 | } | 288 | } |