mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03: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
@ -1562,6 +1562,11 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
||||
else
|
||||
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 {
|
||||
srv_archive_error("accept", "ignored Accept", req, msg);
|
||||
snac_debug(snac, 1, xs_fmt("ignored 'Accept' for object type '%s'", utype));
|
||||
|
Loading…
Reference in New Issue
Block a user