summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-07-31 06:22:13 +0200
committerdefault <nobody@localhost>2024-07-31 06:22:13 +0200
commit1001744ddb48ed3cb49d1d6d1a607852d6d385de (patch)
tree9d28c3b2abe8bf2264531d1f8526ff8bab35e74b /activitypub.c
parenta09ea11f551969e2239cbf65293205da9cae37fe (diff)
Notify objects include the original message.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 3 insertions, 1 deletions
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'",