diff options
| author | 2022-12-23 08:05:00 +0100 | |
|---|---|---|
| committer | 2022-12-23 08:05:00 +0100 | |
| commit | a24b27bf291f1df675e71290c9e839a56543bafb (patch) | |
| tree | 66d20de1580557a3119f121e70e0198301d9b96a | |
| parent | Bumped version. (diff) | |
| download | penes-snac2-a24b27bf291f1df675e71290c9e839a56543bafb.tar.gz penes-snac2-a24b27bf291f1df675e71290c9e839a56543bafb.tar.xz penes-snac2-a24b27bf291f1df675e71290c9e839a56543bafb.zip | |
Don't generate inReplyTo as an empty string.
| -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 | |||
| 599 | if (tag == NULL) | 599 | if (tag == NULL) |
| 600 | tag = xs_list_new(); | 600 | tag = xs_list_new(); |
| 601 | 601 | ||
| 602 | if (in_reply_to != NULL) { | 602 | if (in_reply_to != NULL && *in_reply_to) { |
| 603 | xs *p_msg = NULL; | 603 | xs *p_msg = NULL; |
| 604 | 604 | ||
| 605 | /* demand this thing */ | 605 | /* demand this thing */ |