Minor webfinger tweak.

This commit is contained in:
default 2024-12-19 05:37:27 +01:00
parent 8c53411a00
commit bde5748a6e

View file

@ -82,7 +82,11 @@ int webfinger_request_signed(snac *snac, const char *qs, xs_str **actor, xs_str
if (obj == NULL && valid_status(status) && payload) {
obj = xs_json_loads(payload);
if (obj)
object_add(cached_qs, obj);
else
status = HTTP_STATUS_BAD_REQUEST;
}
if (obj) {