commit a24b27b

default  ·  2022-12-23 07:05:00 +0000 UTC
parent 03251e6
Don't generate inReplyTo as an empty string.
1 files changed,  +1, -1
+1, -1
1@@ -599,7 +599,7 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
2     if (tag == NULL)
3         tag = xs_list_new();
4 
5-    if (in_reply_to != NULL) {
6+    if (in_reply_to != NULL && *in_reply_to) {
7         xs *p_msg = NULL;
8 
9         /* demand this thing */