summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c3
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);