mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
don't create obits for apps that don't have relayIDs (and presumably
never connected.)
This commit is contained in:
parent
96e277c7ba
commit
c76c5f5868
1 changed files with 5 additions and 3 deletions
|
@ -887,9 +887,11 @@ public class GameUtils {
|
|||
private static void tellRelayDied( Context context, GameSummary summary,
|
||||
boolean informNow )
|
||||
{
|
||||
DBUtils.addDeceased( context, summary.relayID, summary.seed );
|
||||
if ( informNow ) {
|
||||
NetUtils.informOfDeaths( context );
|
||||
if ( null != summary.relayID ) {
|
||||
DBUtils.addDeceased( context, summary.relayID, summary.seed );
|
||||
if ( informNow ) {
|
||||
NetUtils.informOfDeaths( context );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue