diff options
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 | ||