summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-01-11 20:40:13 +0100
committerdefault <nobody@localhost>2023-01-11 20:40:13 +0100
commit75f8554e38dde34fca8981ad07c610980fb07321 (patch)
treee88fe6c3b390f6704d69422f7dfeebd80b4dd27e /activitypub.c
parent1aac24ca756be5305f0895f7ebfc12a989773975 (diff)
Deleted unused arguments in timeline_add().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
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;
}