Don't request the actor in get_actor_inbox().

This commit is contained in:
default 2023-02-15 06:01:47 +01:00
parent 1af96788f0
commit d3da67eaba

View file

@ -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");