mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Ignore 'Reject' messages.
This commit is contained in:
parent
e4f4bad4f7
commit
ab93ca3f75
@ -1721,7 +1721,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
|
|||||||
type = "Note";
|
type = "Note";
|
||||||
|
|
||||||
/* reject uninteresting messages right now */
|
/* reject uninteresting messages right now */
|
||||||
if (xs_match(type, "Add|View")) {
|
if (xs_match(type, "Add|View|Reject")) {
|
||||||
srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
|
srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user