diff options
| author | 2025-01-10 06:45:44 +0100 | |
|---|---|---|
| committer | 2025-01-10 06:45:44 +0100 | |
| commit | 131fbc105a9b82988869fe84c03f2e0b0135e168 (patch) | |
| tree | 5eab3c8d6dc1666336573195e9dafe7d5332cf4b /activitypub.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | penes-snac2-131fbc105a9b82988869fe84c03f2e0b0135e168.tar.gz penes-snac2-131fbc105a9b82988869fe84c03f2e0b0135e168.tar.xz penes-snac2-131fbc105a9b82988869fe84c03f2e0b0135e168.zip | |
Always return a shared inbox for the 'relay' user.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index d31a888..77d8e34 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1321,7 +1321,7 @@ xs_dict *msg_actor(snac *snac) | |||
| 1321 | } | 1321 | } |
| 1322 | 1322 | ||
| 1323 | /* use shared inboxes? */ | 1323 | /* use shared inboxes? */ |
| 1324 | if (xs_type(xs_dict_get(srv_config, "shared_inboxes")) == XSTYPE_TRUE) { | 1324 | if (xs_is_true(xs_dict_get(srv_config, "shared_inboxes")) || strcmp(snac->uid, "relay") == 0) { |
| 1325 | xs *d = xs_dict_new(); | 1325 | xs *d = xs_dict_new(); |
| 1326 | xs *si = xs_fmt("%s/shared-inbox", srv_baseurl); | 1326 | xs *si = xs_fmt("%s/shared-inbox", srv_baseurl); |
| 1327 | d = xs_dict_append(d, "sharedInbox", si); | 1327 | d = xs_dict_append(d, "sharedInbox", si); |