diff options
| author | default <nobody@localhost> | 2025-01-12 11:30:16 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-12 11:30:16 +0100 |
| commit | f88a32dbe0805fceb3fb75b01de61616d7953f5e (patch) | |
| tree | 81b0a28bb63cd79963a8bbf8d2852efb2d2ce383 /main.c | |
| parent | 5d2a5f160adc0992178812bcaa72df9cd5f072a7 (diff) | |
mastoapi: fixed Events not being shown.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -351,6 +351,22 @@ int main(int argc, char *argv[]) return 0; } + + if (strcmp(cmd, "assist") == 0) { /** **/ + /* undocumented: experimental (do not use) */ + xs *msg = msg_admiration(&snac, url, "Accept"); + + if (msg != NULL) { + enqueue_message(&snac, msg); + + if (dbglevel) { + xs_json_dump(msg, 4, stdout); + } + } + + return 0; + } + if (strcmp(cmd, "unboost") == 0) { /** **/ xs *msg = msg_repulsion(&snac, url, "Announce"); |