mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Don't archive Accept + Create activities as errors.
They may be (or not, not remember from the doc), but I don't care.
This commit is contained in:
parent
31048215f6
commit
d3de540a05
1 changed files with 5 additions and 0 deletions
|
@ -1562,6 +1562,11 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
||||||
else
|
else
|
||||||
snac_log(snac, xs_fmt("spurious follow accept from %s", actor));
|
snac_log(snac, xs_fmt("spurious follow accept from %s", actor));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
if (strcmp(utype, "Create") == 0) {
|
||||||
|
/* some implementations send Create confirmations, go figure */
|
||||||
|
snac_debug(snac, 1, xs_dup("ignored 'Accept' + 'Create'"));
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
srv_archive_error("accept", "ignored Accept", req, msg);
|
srv_archive_error("accept", "ignored Accept", req, msg);
|
||||||
snac_debug(snac, 1, xs_fmt("ignored 'Accept' for object type '%s'", utype));
|
snac_debug(snac, 1, xs_fmt("ignored 'Accept' for object type '%s'", utype));
|
||||||
|
|
Loading…
Reference in a new issue