mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
regression: notify remote when deleted game messaged
This commit is contained in:
parent
c801243dd5
commit
6b650907b2
1 changed files with 7 additions and 1 deletions
|
@ -986,8 +986,14 @@ main_onGameMessage( Globals* globals, XP_U32 gameID,
|
|||
}
|
||||
} else {
|
||||
char msg[128];
|
||||
snprintf( msg, sizeof(msg), "Dropping move for deleted game (id: %X)", gameID );
|
||||
snprintf( msg, sizeof(msg), "Dropping move for deleted game (id: %X/%d)",
|
||||
gameID, gameID );
|
||||
call_alert( msg );
|
||||
|
||||
XWStreamCtxt* stream = mem_stream_make_raw( MPPARM(globals->mpool)
|
||||
globals->vtMgr );
|
||||
dvc_makeMQTTNoSuchGame( globals->dutil, NULL, stream, gameID );
|
||||
sendStreamToDev( stream, &from->u.mqtt.devID );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue