diff options
| author | 2023-01-11 20:40:13 +0100 | |
|---|---|---|
| committer | 2023-01-11 20:40:13 +0100 | |
| commit | 75f8554e38dde34fca8981ad07c610980fb07321 (patch) | |
| tree | e88fe6c3b390f6704d69422f7dfeebd80b4dd27e /activitypub.c | |
| parent | More keyId/signature tweaks. (diff) | |
| download | snac2-75f8554e38dde34fca8981ad07c610980fb07321.tar.gz snac2-75f8554e38dde34fca8981ad07c610980fb07321.tar.xz snac2-75f8554e38dde34fca8981ad07c610980fb07321.zip | |
Deleted unused arguments in timeline_add().
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c index b316574..be0bf9f 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -119,7 +119,7 @@ int timeline_request(snac *snac, char **id, char *referrer, d_char **wrk) | |||
| 119 | timeline_request(snac, &in_reply_to, referrer, NULL); | 119 | timeline_request(snac, &in_reply_to, referrer, NULL); |
| 120 | 120 | ||
| 121 | /* finally store */ | 121 | /* finally store */ |
| 122 | timeline_add(snac, *id, object, in_reply_to, referrer); | 122 | timeline_add(snac, *id, object); |
| 123 | } | 123 | } |
| 124 | } | 124 | } |
| 125 | } | 125 | } |
| @@ -852,7 +852,7 @@ int process_message(snac *snac, char *msg, char *req) | |||
| 852 | f_msg = xs_dict_set(f_msg, "published", date); | 852 | f_msg = xs_dict_set(f_msg, "published", date); |
| 853 | } | 853 | } |
| 854 | 854 | ||
| 855 | timeline_add(snac, xs_dict_get(f_msg, "id"), f_msg, NULL, NULL); | 855 | timeline_add(snac, xs_dict_get(f_msg, "id"), f_msg); |
| 856 | 856 | ||
| 857 | follower_add(snac, actor); | 857 | follower_add(snac, actor); |
| 858 | 858 | ||
| @@ -887,7 +887,7 @@ int process_message(snac *snac, char *msg, char *req) | |||
| 887 | 887 | ||
| 888 | timeline_request(snac, &in_reply_to, NULL, &wrk); | 888 | timeline_request(snac, &in_reply_to, NULL, &wrk); |
| 889 | 889 | ||
| 890 | if (timeline_add(snac, id, object, in_reply_to, NULL)) { | 890 | if (timeline_add(snac, id, object)) { |
| 891 | snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id)); | 891 | snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id)); |
| 892 | do_notify = 1; | 892 | do_notify = 1; |
| 893 | } | 893 | } |