mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Notify Moves, even if they fail.
This commit is contained in:
parent
053e9de637
commit
f14ea27818
1 changed files with 2 additions and 2 deletions
|
@ -2145,6 +2145,8 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (strcmp(type, "Move") == 0) { /** **/
|
if (strcmp(type, "Move") == 0) { /** **/
|
||||||
|
do_notify = 1;
|
||||||
|
|
||||||
const char *old_account = xs_dict_get(msg, "object");
|
const char *old_account = xs_dict_get(msg, "object");
|
||||||
const char *new_account = xs_dict_get(msg, "target");
|
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));
|
snac_log(snac, xs_fmt("'Move': unfollowing %s", old_account));
|
||||||
}
|
}
|
||||||
|
|
||||||
do_notify = 1;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
snac_log(snac, xs_fmt("'Move' error: old actor %s not found in %s 'alsoKnownAs'",
|
snac_log(snac, xs_fmt("'Move' error: old actor %s not found in %s 'alsoKnownAs'",
|
||||||
|
|
Loading…
Reference in a new issue