summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index 36624a1..1cfd75b 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2145,6 +2145,8 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
2145 } 2145 }
2146 else 2146 else
2147 if (strcmp(type, "Move") == 0) { /** **/ 2147 if (strcmp(type, "Move") == 0) { /** **/
2148 do_notify = 1;
2149
2148 const char *old_account = xs_dict_get(msg, "object"); 2150 const char *old_account = xs_dict_get(msg, "object");
2149 const char *new_account = xs_dict_get(msg, "target"); 2151 const char *new_account = xs_dict_get(msg, "target");
2150 2152
@@ -2180,8 +2182,6 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
2180 2182
2181 snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account)); 2183 snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account));
2182 } 2184 }
2183
2184 do_notify = 1;
2185 } 2185 }
2186 else 2186 else
2187 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'",