diff options
author | default <nobody@localhost> | 2024-07-01 08:59:32 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-07-01 08:59:32 +0200 |
commit | aa3e351951751adbfaf87ed1bdb63767221dd214 (patch) | |
tree | b6fcdd7702d6158c1eede277e1b208e82d3cf6f4 /activitypub.c | |
parent | 6f772e477059973f6c5408e380db6409374316bf (diff) |
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, enqueue_ntfy(body, ntfy_server, ntfy_token); /* auto boost */ - if (xs_match(type, "Create") && xs_type(xs_dict_get(snac->config, "auto_boost")) == XSTYPE_TRUE) { + if (xs_match(type, "Create") && xs_is_true(xs_dict_get(snac->config, "auto_boost"))) { xs *msg = msg_admiration(snac, objid, "Announce"); enqueue_message(snac, msg); |