commit f14ea27

default  ·  2024-07-31 05:20:16 +0000 UTC
parent 053e9de
Notify Moves, even if they fail.
1 files changed,  +2, -2
+2, -2
 1@@ -2145,6 +2145,8 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
 2     }
 3     else
 4     if (strcmp(type, "Move") == 0) { /** **/
 5+        do_notify = 1;
 6+
 7         const char *old_account = xs_dict_get(msg, "object");
 8         const char *new_account = xs_dict_get(msg, "target");
 9 
10@@ -2180,8 +2182,6 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
11 
12                                 snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account));
13                             }
14-
15-                            do_notify = 1;
16                         }
17                         else
18                             snac_log(snac, xs_fmt("'Move' error: old actor %s not found in %s 'alsoKnownAs'",