diff options
author | default <nobody@localhost> | 2022-12-16 07:16:00 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-12-16 07:16:00 +0100 |
commit | 25acaf178cc8a4112a5a150f5ee45bf69192cc0e (patch) | |
tree | 84267c8d738e10a755d66e6c046fb5cc3ccbf99e /main.c | |
parent | 427f7341fa5db23b9e67a1d1035bb3dc12d35f40 (diff) |
Replaced all calls to post() with enqueue_message().
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |