mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
include devid in ack payload
So server can choose to unretain.
This commit is contained in:
parent
e78d9fbc33
commit
b962b18dff
3 changed files with 7 additions and 8 deletions
|
@ -618,10 +618,10 @@ public class MQTTUtils extends Thread
|
|||
String sum = Utils.getMD5SumFor( payload );
|
||||
JSONObject params = new JSONObject();
|
||||
try {
|
||||
params.put( "sum", sum );
|
||||
String devid = XwJNI.dvc_getMQTTDevID();
|
||||
params.put( "devid", devid );
|
||||
params.put( "gid", gameID );
|
||||
// params.put( "from", senderDevID );
|
||||
// params.put( "to", XwJNI.dvc_getMQTTDevID( null ) );
|
||||
params.put( "sum", sum );
|
||||
|
||||
HttpsURLConnection conn
|
||||
= NetUtils.makeHttpsMQTTConn( context, "ack" );
|
||||
|
|
|
@ -1596,6 +1596,10 @@
|
|||
<string name="summary_wait_guest">Unconnected</string>
|
||||
<!-- -->
|
||||
<string name="summary_gameover">Game over\u200C</string>
|
||||
<!-- Shown in games list game summary when a remote device has been
|
||||
deleted and so no play is possible (but the game didn't
|
||||
necessarily end). -->
|
||||
<string name="summary_game_gone">Remote game deleted</string>
|
||||
<!-- -->
|
||||
<string name="summary_conn">Game in play</string>
|
||||
<!-- -->
|
||||
|
|
|
@ -5,9 +5,4 @@
|
|||
|
||||
<string name="dup_allscores_fmt">All scores: %1$s</string>
|
||||
|
||||
<!-- Shown in games list game summary when a remote device has been
|
||||
deleted and so no play is possible (but the game didn't
|
||||
necessarily end). -->
|
||||
<string name="summary_game_gone">Deleted by opponent</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Reference in a new issue