diff options
| author | 2024-07-01 08:59:32 +0200 | |
|---|---|---|
| committer | 2024-07-01 08:59:32 +0200 | |
| commit | aa3e351951751adbfaf87ed1bdb63767221dd214 (patch) | |
| tree | b6fcdd7702d6158c1eede277e1b208e82d3cf6f4 /activitypub.c | |
| parent | Fixed a minor bug in processing Markdown-style links having anchors. (diff) | |
| download | snac2-aa3e351951751adbfaf87ed1bdb63767221dd214.tar.gz snac2-aa3e351951751adbfaf87ed1bdb63767221dd214.tar.xz snac2-aa3e351951751adbfaf87ed1bdb63767221dd214.zip | |
Minor tweak.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 5b75506..63bdab9 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -935,7 +935,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, | |||
| 935 | enqueue_ntfy(body, ntfy_server, ntfy_token); | 935 | enqueue_ntfy(body, ntfy_server, ntfy_token); |
| 936 | 936 | ||
| 937 | /* auto boost */ | 937 | /* auto boost */ |
| 938 | if (xs_match(type, "Create") && xs_type(xs_dict_get(snac->config, "auto_boost")) == XSTYPE_TRUE) { | 938 | if (xs_match(type, "Create") && xs_is_true(xs_dict_get(snac->config, "auto_boost"))) { |
| 939 | xs *msg = msg_admiration(snac, objid, "Announce"); | 939 | xs *msg = msg_admiration(snac, objid, "Announce"); |
| 940 | enqueue_message(snac, msg); | 940 | enqueue_message(snac, msg); |
| 941 | 941 | ||