summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2023-01-11 20:47:36 +0100
committerGravatar default2023-01-11 20:47:36 +0100
commit40b3f739d24a7ab87cfc35818638eca061b9d19c (patch)
tree2c33e01bf02f13f67d8837474773224dd8142b73 /activitypub.c
parentDeleted unused arguments in timeline_add(). (diff)
downloadsnac2-40b3f739d24a7ab87cfc35818638eca061b9d19c.tar.gz
snac2-40b3f739d24a7ab87cfc35818638eca061b9d19c.tar.xz
snac2-40b3f739d24a7ab87cfc35818638eca061b9d19c.zip
Deleted unused argument in timeline_admire().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index be0bf9f..2f74139 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -914,7 +914,7 @@ int process_message(snac *snac, char *msg, char *req)
914 if (xs_type(object) == XSTYPE_DICT) 914 if (xs_type(object) == XSTYPE_DICT)
915 object = xs_dict_get(object, "id"); 915 object = xs_dict_get(object, "id");
916 916
917 timeline_admire(snac, msg, object, actor, 1); 917 timeline_admire(snac, object, actor, 1);
918 snac_log(snac, xs_fmt("new 'Like' %s %s", actor, object)); 918 snac_log(snac, xs_fmt("new 'Like' %s %s", actor, object));
919 do_notify = 1; 919 do_notify = 1;
920 } 920 }
@@ -936,7 +936,7 @@ int process_message(snac *snac, char *msg, char *req)
936 xs *who_o = NULL; 936 xs *who_o = NULL;
937 937
938 if (valid_status(actor_request(snac, who, &who_o))) { 938 if (valid_status(actor_request(snac, who, &who_o))) {
939 timeline_admire(snac, msg, object, actor, 0); 939 timeline_admire(snac, object, actor, 0);
940 snac_log(snac, xs_fmt("new 'Announce' %s %s", actor, object)); 940 snac_log(snac, xs_fmt("new 'Announce' %s %s", actor, object));
941 do_notify = 1; 941 do_notify = 1;
942 } 942 }