mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
don't send invite from inside comms_invite()
This commit is contained in:
parent
a6d1736a7e
commit
18973675d0
1 changed files with 5 additions and 1 deletions
|
@ -1567,7 +1567,11 @@ comms_invite( CommsCtxt* comms, XWEnv xwe, const NetLaunchInfo* nli,
|
||||||
|
|
||||||
elem = addToQueue( comms, xwe, elem );
|
elem = addToQueue( comms, xwe, elem );
|
||||||
XP_LOGFF( "added invite on channel %d", elem->channelNo & CHANNEL_MASK );
|
XP_LOGFF( "added invite on channel %d", elem->channelNo & CHANNEL_MASK );
|
||||||
sendMsg( comms, xwe, elem, COMMS_CONN_NONE );
|
/* Let's not call sendMsg(). On Android creating a game with an
|
||||||
|
invitation in its queue is always followed by opening the game,
|
||||||
|
which results in comms_resendAll() getting called leading to a
|
||||||
|
second send immediately after this. So drop this. */
|
||||||
|
// sendMsg( comms, xwe, elem, COMMS_CONN_NONE );
|
||||||
}
|
}
|
||||||
LOG_RETURN_VOID();
|
LOG_RETURN_VOID();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue