summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index ccb21c8..6314314 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -409,7 +409,7 @@ d_char *msg_actor(snac *snac)
409 msg = xs_dict_set(msg, "preferredUsername", snac->uid); 409 msg = xs_dict_set(msg, "preferredUsername", snac->uid);
410 msg = xs_dict_set(msg, "published", xs_dict_get(snac->config, "published")); 410 msg = xs_dict_set(msg, "published", xs_dict_get(snac->config, "published"));
411 411
412 not_really_markdown(xs_dict_get(snac->config, "bio"), &f_bio); 412 f_bio = not_really_markdown(xs_dict_get(snac->config, "bio"));
413 msg = xs_dict_set(msg, "summary", f_bio); 413 msg = xs_dict_set(msg, "summary", f_bio);
414 414
415 char *folders[] = { "inbox", "outbox", "followers", "following", NULL }; 415 char *folders[] = { "inbox", "outbox", "followers", "following", NULL };
@@ -548,7 +548,7 @@ d_char *msg_note(snac *snac, char *content, char *rcpts, char *in_reply_to, char
548 } 548 }
549 549
550 /* format the content */ 550 /* format the content */
551 not_really_markdown(content, &fc2); 551 fc2 = not_really_markdown(content);
552 552
553 /* extract the tags */ 553 /* extract the tags */
554 process_tags(fc2, &fc1, &tag); 554 process_tags(fc2, &fc1, &tag);