summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
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)
2465 2465
2466 2466
2467int send_email(const xs_dict *mailinfo) 2467int send_email(const xs_dict *mailinfo)
2468/* invoke sendmail with email headers and body in msg */ 2468/* invoke curl */
2469{ 2469{
2470 const xs_dict *smtp_cfg = xs_dict_get(srv_config, "smtp"); 2470 const xs_dict *smtp_cfg = xs_dict_get(srv_config, "email_notifications");
2471 const char 2471 const char
2472 *url = xs_dict_get(smtp_cfg, "url"), 2472 *url = xs_dict_get(smtp_cfg, "url"),
2473 *user = xs_dict_get(smtp_cfg, "username"), 2473 *user = xs_dict_get(smtp_cfg, "username"),