commit 9083bef
default
·
2023-02-20 05:12:23 +0000 UTC
parent 235c92e
Don't try to send to empty email addresses.
1 files changed,
+1,
-1
+1,
-1
1@@ -850,7 +850,7 @@ void notify(snac *snac, xs_str *type, xs_str *utype, xs_str *actor, xs_dict *msg
2 }
3 }
4
5- if (*email != '[') {
6+ if (*email != '\0' && *email != '[') {
7 snac_debug(snac, 1, xs_fmt("email notify %s %s %s", type, utype, actor));
8
9 xs *subject = xs_fmt("snac notify for @%s@%s",