mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-07 20:46:17 +01:00
don't include relay in default address for new games!!!
This commit is contained in:
parent
c21307c5b1
commit
d88c050ab2
1 changed files with 3 additions and 1 deletions
|
@ -491,8 +491,10 @@ public class XWPrefs {
|
||||||
result = new CommsConnTypeSet();
|
result = new CommsConnTypeSet();
|
||||||
if ( getRelayEnabled( context ) ) {
|
if ( getRelayEnabled( context ) ) {
|
||||||
result.add( CommsConnType.COMMS_CONN_MQTT );
|
result.add( CommsConnType.COMMS_CONN_MQTT );
|
||||||
|
if ( !BuildConfig.NO_NEW_RELAY ) {
|
||||||
result.add( CommsConnType.COMMS_CONN_RELAY );
|
result.add( CommsConnType.COMMS_CONN_RELAY );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if ( BTUtils.BTEnabled() ) {
|
if ( BTUtils.BTEnabled() ) {
|
||||||
result.add( CommsConnType.COMMS_CONN_BT );
|
result.add( CommsConnType.COMMS_CONN_BT );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue