summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
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,
949 if (strcmp(utype, "Follow") == 0) 949 if (strcmp(utype, "Follow") == 0)
950 objid = actor; 950 objid = actor;
951 951
952 notify_add(snac, type, utype, actor, objid != NULL ? objid : id); 952 notify_add(snac, type, utype, actor, objid != NULL ? objid : id, msg);
953} 953}
954 954
955/** messages **/ 955/** messages **/
@@ -2180,6 +2180,8 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
2180 2180
2181 snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account)); 2181 snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account));
2182 } 2182 }
2183
2184 do_notify = 1;
2183 } 2185 }
2184 else 2186 else
2185 snac_log(snac, xs_fmt("'Move' error: old actor %s not found in %s 'alsoKnownAs'", 2187 snac_log(snac, xs_fmt("'Move' error: old actor %s not found in %s 'alsoKnownAs'",