Don't generate inReplyTo as an empty string.

This commit is contained in:
default 2022-12-23 08:05:00 +01:00
parent 03251e6fb9
commit a24b27bf29

View File

@ -599,7 +599,7 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
if (tag == NULL) if (tag == NULL)
tag = xs_list_new(); tag = xs_list_new();
if (in_reply_to != NULL) { if (in_reply_to != NULL && *in_reply_to) {
xs *p_msg = NULL; xs *p_msg = NULL;
/* demand this thing */ /* demand this thing */