diff options
author | default <nobody@localhost> | 2023-01-11 20:47:36 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-01-11 20:47:36 +0100 |
commit | 40b3f739d24a7ab87cfc35818638eca061b9d19c (patch) | |
tree | 2c33e01bf02f13f67d8837474773224dd8142b73 /activitypub.c | |
parent | 75f8554e38dde34fca8981ad07c610980fb07321 (diff) |
Deleted unused argument in timeline_admire().
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 4 |
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) if (xs_type(object) == XSTYPE_DICT) object = xs_dict_get(object, "id"); - timeline_admire(snac, msg, object, actor, 1); + timeline_admire(snac, object, actor, 1); snac_log(snac, xs_fmt("new 'Like' %s %s", actor, object)); do_notify = 1; } @@ -936,7 +936,7 @@ int process_message(snac *snac, char *msg, char *req) xs *who_o = NULL; if (valid_status(actor_request(snac, who, &who_o))) { - timeline_admire(snac, msg, object, actor, 0); + timeline_admire(snac, object, actor, 0); snac_log(snac, xs_fmt("new 'Announce' %s %s", actor, object)); do_notify = 1; } |