diff options
| author | 2026-02-07 17:41:28 +0100 | |
|---|---|---|
| committer | 2026-02-07 17:41:28 +0100 | |
| commit | 1543bb74f85e0e8eed875df30f4e6c8adfbf97b7 (patch) | |
| tree | 36bda6d0af6627e0e36aefb8f8c6a29338996e15 | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-1543bb74f85e0e8eed875df30f4e6c8adfbf97b7.tar.gz snac2-1543bb74f85e0e8eed875df30f4e6c8adfbf97b7.tar.xz snac2-1543bb74f85e0e8eed875df30f4e6c8adfbf97b7.zip | |
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 8eb7844..0535269 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1921,6 +1921,9 @@ xs_dict *msg_actor(snac *snac) | |||
| 1921 | if (xs_type(location) == XSTYPE_DICT) | 1921 | if (xs_type(location) == XSTYPE_DICT) |
| 1922 | msg = xs_dict_set(msg, "location", location); | 1922 | msg = xs_dict_set(msg, "location", location); |
| 1923 | 1923 | ||
| 1924 | xs *webfinger = xs_fmt("%s@%s", snac->uid, xs_dict_get(srv_config, "host")); | ||
| 1925 | msg = xs_dict_set(msg, "webfinger", webfinger); | ||
| 1926 | |||
| 1924 | /* cache it */ | 1927 | /* cache it */ |
| 1925 | snac_debug(snac, 1, xs_fmt("Caching actor %s", snac->actor)); | 1928 | snac_debug(snac, 1, xs_fmt("Caching actor %s", snac->actor)); |
| 1926 | object_add_ow(snac->actor, msg); | 1929 | object_add_ow(snac->actor, msg); |