snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit d3da67eabab154f94717661150d8c8dfeb15a5b6
parent 1af96788f03d22ad90eee85ec79a1adbb9535ef9
Author: default <nobody@localhost>
Date:   Wed, 15 Feb 2023 06:01:47 +0100

Don't request the actor in get_actor_inbox().

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activitypub.c b/activitypub.c @@ -194,7 +194,7 @@ d_char *get_actor_inbox(snac *snac, char *actor) xs *data = NULL; char *v = NULL; - if (valid_status(actor_request(snac, actor, &data))) { + if (valid_status(actor_get(snac, actor, &data))) { /* try first endpoints/sharedInbox */ if ((v = xs_dict_get(data, "endpoints"))) v = xs_dict_get(v, "sharedInbox");