diff options
author | default <nobody@localhost> | 2024-04-10 18:27:17 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-04-10 18:27:17 +0200 |
commit | 1a6bb79921b78f89dd975b5f6a7b3ad7d454a7b6 (patch) | |
tree | a279608df3544efc8fcf79af5c11b8bb51e609b7 /main.c | |
parent | a6958d6161b09110c2d88ee6d96cadcc1c458b27 (diff) |
New function msg_repulsion.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -295,6 +295,20 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(cmd, "unboost") == 0) { /** **/ + xs *msg = msg_repulsion(&snac, url, "Announce"); + + if (msg != NULL) { + enqueue_message(&snac, msg); + + if (dbglevel) { + xs_json_dump(msg, 4, stdout); + } + } + + return 0; + } + if (strcmp(cmd, "follow") == 0) { /** **/ xs *msg = msg_follow(&snac, url); |