From 877fb079f34f10c857c42cd04ffd0b5e0cd4ca69 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 11 Apr 2024 05:12:13 +0200 Subject: mastoapi: 'unfavourite' and 'unreblog' actions now fully work. --- activitypub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activitypub.c') 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; } -- cgit v1.2.3