summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-04-11 05:12:13 +0200
committerdefault <nobody@localhost>2024-04-11 05:12:13 +0200
commit877fb079f34f10c857c42cd04ffd0b5e0cd4ca69 (patch)
tree356ff30c1bacb5850fcdb11b31935258bbcc856b /activitypub.c
parent1a6bb79921b78f89dd975b5f6a7b3ad7d454a7b6 (diff)
mastoapi: 'unfavourite' and 'unreblog' actions now fully work.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c
index afbe7af..9a23e14 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1186,11 +1186,11 @@ xs_dict *msg_repulsion(snac *user, char *id, char *type)
/* copy the 'to' field */
msg = xs_dict_set(msg, "to", xs_dict_get(object, "to"));
-
- /* now we despise this */
- object_unadmire(id, user->actor, *type == 'L' ? 1 : 0);
}
+ /* now we despise this */
+ object_unadmire(id, user->actor, *type == 'L' ? 1 : 0);
+
return msg;
}