summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-16 07:16:00 +0100
committerdefault <nobody@localhost>2022-12-16 07:16:00 +0100
commit25acaf178cc8a4112a5a150f5ee45bf69192cc0e (patch)
tree84267c8d738e10a755d66e6c046fb5cc3ccbf99e /main.c
parent427f7341fa5db23b9e67a1d1035bb3dc12d35f40 (diff)
Replaced all calls to post() with enqueue_message().
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index d3a461e..83c416a 100644
--- a/main.c
+++ b/main.c
@@ -175,7 +175,7 @@ int main(int argc, char *argv[])
xs *msg = msg_admiration(&snac, url, "Announce");
if (msg != NULL) {
- post(&snac, msg);
+ enqueue_message(&snac, msg);
if (dbglevel) {
xs *j = xs_json_dumps_pp(msg, 4);
@@ -290,7 +290,7 @@ int main(int argc, char *argv[])
printf("%s\n", j);
}
- post(&snac, c_msg);
+ enqueue_message(&snac, c_msg);
timeline_add(&snac, xs_dict_get(msg, "id"), msg, in_reply_to, NULL);