commit 131fbc1
default
·
2025-01-10 05:45:44 +0000 UTC
parent 361f6b6
Always return a shared inbox for the 'relay' user.
1 files changed,
+1,
-1
+1,
-1
1@@ -1321,7 +1321,7 @@ xs_dict *msg_actor(snac *snac)
2 }
3
4 /* use shared inboxes? */
5- if (xs_type(xs_dict_get(srv_config, "shared_inboxes")) == XSTYPE_TRUE) {
6+ if (xs_is_true(xs_dict_get(srv_config, "shared_inboxes")) || strcmp(snac->uid, "relay") == 0) {
7 xs *d = xs_dict_new();
8 xs *si = xs_fmt("%s/shared-inbox", srv_baseurl);
9 d = xs_dict_append(d, "sharedInbox", si);