diff options
author | default <nobody@localhost> | 2023-12-11 10:12:57 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-12-11 10:12:57 +0100 |
commit | c06b74cc8e7ab92002ceea9f30d2c8a334a9d1c2 (patch) | |
tree | 187c176e557a5df651bb8aa79e002a9c447022b4 /snac.h | |
parent | 8d0a69cd759813b1304605d1676fbca063f0ccdc (diff) |
Revert "Reverted actor_request() without user."
This reverts commit 8d0a69cd759813b1304605d1676fbca063f0ccdc.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -212,7 +212,7 @@ xs_dict *http_signed_request(snac *snac, const char *method, const char *url, const char *body, int b_size, int *status, xs_str **payload, int *p_size, int timeout); -int check_signature(snac *user, xs_dict *req, xs_str **err); +int check_signature(xs_dict *req, xs_str **err); void httpd(void); @@ -242,7 +242,7 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach, const xs_list *opts, int multiple, int end_secs); int activitypub_request(snac *snac, const char *url, xs_dict **data); -int actor_request(snac *user, const char *actor, xs_dict **data); +int actor_request(const char *actor, xs_dict **data); void timeline_request_replies(snac *user, const char *id); int send_to_inbox_raw(const char *keyid, const char *seckey, const xs_str *inbox, const xs_dict *msg, |