X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol_auth.c;h=416066ff0ed0a6eb6654bab6a0e70bc2b709e8e6;hp=1ece41cea592bf6e62d607104447c8bcc15ec0c1;hb=18c0a32a4de44adfeee6be42d1c1ae231d093cbf;hpb=02ff0ed68be501377a06a3df19f36d7524927e95 diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 1ece41ce..416066ff 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -21,6 +21,7 @@ #include "conf.h" #include "connection.h" +#include "devtools.h" #include "ecdsa.h" #include "edge.h" #include "graph.h" @@ -232,6 +233,10 @@ static bool process_invitation(meshlink_handle_t *mesh, connection_t *c, const v return false; } + if(mesh->inviter_commits_first) { + devtool_set_inviter_commits_first(true); + } + // Send the node the contents of the invitation file sptps_send_record(&c->sptps, 0, config.buf, config.len);