summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2022-12-16 07:16:00 +0100
committerGravatar default2022-12-16 07:16:00 +0100
commit25acaf178cc8a4112a5a150f5ee45bf69192cc0e (patch)
tree84267c8d738e10a755d66e6c046fb5cc3ccbf99e /activitypub.c
parentNew function enqueue_message(). (diff)
downloadsnac2-25acaf178cc8a4112a5a150f5ee45bf69192cc0e.tar.gz
snac2-25acaf178cc8a4112a5a150f5ee45bf69192cc0e.tar.xz
snac2-25acaf178cc8a4112a5a150f5ee45bf69192cc0e.zip
Replaced all calls to post() with enqueue_message().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 79ec98b..a193ac9 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -827,7 +827,7 @@ int process_message(snac *snac, char *msg, char *req)
827 xs *f_msg = xs_dup(msg); 827 xs *f_msg = xs_dup(msg);
828 xs *reply = msg_accept(snac, f_msg, actor); 828 xs *reply = msg_accept(snac, f_msg, actor);
829 829
830 post(snac, reply); 830 enqueue_message(snac, reply);
831 831
832 if (xs_is_null(xs_dict_get(f_msg, "published"))) { 832 if (xs_is_null(xs_dict_get(f_msg, "published"))) {
833 /* add a date if it doesn't include one (Mastodon) */ 833 /* add a date if it doesn't include one (Mastodon) */