mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-26 15:03:36 +00:00
Don't try to send to empty email addresses.
This commit is contained in:
parent
235c92ea0c
commit
9083bef5cb
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ void notify(snac *snac, xs_str *type, xs_str *utype, xs_str *actor, xs_dict *msg
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*email != '[') {
|
if (*email != '\0' && *email != '[') {
|
||||||
snac_debug(snac, 1, xs_fmt("email notify %s %s %s", type, utype, actor));
|
snac_debug(snac, 1, xs_fmt("email notify %s %s %s", type, utype, actor));
|
||||||
|
|
||||||
xs *subject = xs_fmt("snac notify for @%s@%s",
|
xs *subject = xs_fmt("snac notify for @%s@%s",
|
||||||
|
|
Loading…
Reference in a new issue