summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-04-12 05:28:34 +0200
committerdefault <nobody@localhost>2024-04-12 05:28:34 +0200
commitdba063066025d8feed0e18dde91037c9bb503d53 (patch)
treef959eeb4955f2c356950802a4cd90df67ec2c574 /activitypub.c
parenta7bd9b63e4992018cade7c5c388bf30878389274 (diff)
Commented out received unboosts (see code for an explanation).
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index d75bbdd..526302a 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1962,7 +1962,12 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
}
else
if (strcmp(utype, "Announce") == 0) { /** **/
- int status = object_unadmire(id, actor, 0);
+ int status = 200;
+
+ /* commented out: if a followed user boosts something that
+ is requested and then unboosts, the post remains here,
+ but with no apparent reason, and that is confusing */
+ //status = object_unadmire(id, actor, 0);
snac_log(snac, xs_fmt("Unboost for %s %d", id, status));
}