diff options
author | default <nobody@localhost> | 2024-07-31 07:20:16 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-07-31 07:20:16 +0200 |
commit | f14ea278189947fd53a4029237108319f096e35d (patch) | |
tree | 2d1994232aff55c086f87ed88c9cd3b99bc8f1d9 | |
parent | 053e9de637c420d8303a88534f330f20080604c2 (diff) |
Notify Moves, even if they fail.
-rw-r--r-- | activitypub.c | 4 |
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) } else if (strcmp(type, "Move") == 0) { /** **/ + do_notify = 1; + const char *old_account = xs_dict_get(msg, "object"); const char *new_account = xs_dict_get(msg, "target"); @@ -2180,8 +2182,6 @@ 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'", |