diff --git a/src/p2p/p2p_invitation.c b/src/p2p/p2p_invitation.c index 293fef0c4..6b3dafba2 100644 --- a/src/p2p/p2p_invitation.c +++ b/src/p2p/p2p_invitation.c @@ -492,7 +492,7 @@ void p2p_invitation_req_cb(struct p2p_data *p2p, int success) * channel. */ p2p_set_state(p2p, P2P_INVITE); - p2p_set_timeout(p2p, 0, 100000); + p2p_set_timeout(p2p, 0, success ? 350000 : 100000); }