From 1001744ddb48ed3cb49d1d6d1a607852d6d385de Mon Sep 17 00:00:00 2001 From: default Date: Wed, 31 Jul 2024 06:22:13 +0200 Subject: Notify objects include the original message. --- activitypub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 9a16521..36624a1 100644 --- a/activitypub.c +++ b/activitypub.c @@ -949,7 +949,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, if (strcmp(utype, "Follow") == 0) objid = actor; - notify_add(snac, type, utype, actor, objid != NULL ? objid : id); + notify_add(snac, type, utype, actor, objid != NULL ? objid : id, msg); } /** messages **/ @@ -2180,6 +2180,8 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account)); } + + do_notify = 1; } else snac_log(snac, xs_fmt("'Move' error: old actor %s not found in %s 'alsoKnownAs'", -- cgit v1.2.3