Forráskód Böngészése

Don't generate inReplyTo as an empty string.

default 3 éve
szülő
commit
a24b27bf29
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -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 */