diff options
author | default <nobody@localhost> | 2023-01-11 20:40:13 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-01-11 20:40:13 +0100 |
commit | 75f8554e38dde34fca8981ad07c610980fb07321 (patch) | |
tree | e88fe6c3b390f6704d69422f7dfeebd80b4dd27e /activitypub.c | |
parent | 1aac24ca756be5305f0895f7ebfc12a989773975 (diff) |
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) timeline_request(snac, &in_reply_to, referrer, NULL); /* finally store */ - timeline_add(snac, *id, object, in_reply_to, referrer); + timeline_add(snac, *id, object); } } } @@ -852,7 +852,7 @@ int process_message(snac *snac, char *msg, char *req) f_msg = xs_dict_set(f_msg, "published", date); } - timeline_add(snac, xs_dict_get(f_msg, "id"), f_msg, NULL, NULL); + timeline_add(snac, xs_dict_get(f_msg, "id"), f_msg); follower_add(snac, actor); @@ -887,7 +887,7 @@ int process_message(snac *snac, char *msg, char *req) timeline_request(snac, &in_reply_to, NULL, &wrk); - if (timeline_add(snac, id, object, in_reply_to, NULL)) { + if (timeline_add(snac, id, object)) { snac_log(snac, xs_fmt("new 'Note' %s %s", actor, id)); do_notify = 1; } |