summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
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)
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 }