diff options
author | default <nobody@localhost> | 2022-12-23 08:05:00 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-12-23 08:05:00 +0100 |
commit | a24b27bf291f1df675e71290c9e839a56543bafb (patch) | |
tree | 66d20de1580557a3119f121e70e0198301d9b96a /activitypub.c | |
parent | 03251e6fb9c4ba113074a7f353595dc9882d25d1 (diff) |
Don't generate inReplyTo as an empty string.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 5e4d254..7a24a69 100644 --- a/activitypub.c +++ b/activitypub.c @@ -599,7 +599,7 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char if (tag == NULL) tag = xs_list_new(); - if (in_reply_to != NULL) { + if (in_reply_to != NULL && *in_reply_to) { xs *p_msg = NULL; /* demand this thing */ |