diff options
| author | shtrophic <christoph@liebender.dev> | 2025-01-20 22:59:30 +0100 |
|---|---|---|
| committer | shtrophic <christoph@liebender.dev> | 2025-01-20 22:59:30 +0100 |
| commit | 4c1a2d24d374d00c656c4489db7d28f80d64f9dc (patch) | |
| tree | 81f7ba7093202247ec51861aa3a6d304d3068d84 /activitypub.c | |
| parent | 4e3d596bee1cee2c4146265eb6ac827f09820c53 (diff) | |
add port parsing for sandboxing
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index ca5cc3e..e5fc715 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2465,9 +2465,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) int send_email(const xs_dict *mailinfo) -/* invoke sendmail with email headers and body in msg */ +/* invoke curl */ { - const xs_dict *smtp_cfg = xs_dict_get(srv_config, "smtp"); + const xs_dict *smtp_cfg = xs_dict_get(srv_config, "email_notifications"); const char *url = xs_dict_get(smtp_cfg, "url"), *user = xs_dict_get(smtp_cfg, "username"), |