From e7a63c7c0b7f5bebc7473b1296debdf273acc60c Mon Sep 17 00:00:00 2001 From: Eric House Date: Thu, 22 Oct 2020 22:33:25 -0700 Subject: [PATCH] change mqtt register URL --- .../app/src/main/java/org/eehouse/android/xw4/XWPrefs.java | 4 ++-- xwords4/android/app/src/main/res/values/common_rsrc.xml | 4 ++-- xwords4/android/app/src/main/res/xml/xwprefs.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWPrefs.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWPrefs.java index 95acc9bd0..49c21d8ee 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWPrefs.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/XWPrefs.java @@ -146,9 +146,9 @@ public class XWPrefs { public static String getDefaultMQTTUrl( Context context ) { - String result = getPrefsString( context, R.string.key_mqtt_url ); + String result = getPrefsString( context, R.string.key_mqtt_url2 ); if ( result == null || 0 == result.length() ) { - result = context.getString( R.string.default_mqtt_url ); + result = context.getString( R.string.default_mqtt_url2 ); } return result; } diff --git a/xwords4/android/app/src/main/res/values/common_rsrc.xml b/xwords4/android/app/src/main/res/values/common_rsrc.xml index d4f56b06f..9b6cc07ac 100644 --- a/xwords4/android/app/src/main/res/values/common_rsrc.xml +++ b/xwords4/android/app/src/main/res/values/common_rsrc.xml @@ -41,7 +41,7 @@ key_relay_via_http_first key_update_url2 key_relay_url2 - key_mqtt_url + key_mqtt_url2 key_mqtt_host key_mqtt_port key_mqtt_qos @@ -175,7 +175,7 @@ https://eehouse.org/sms.html https://eehouse.org/xw4/info.py https://eehouse.org/xw4/relay.py - https://liquidsugar.net/xw4/api/v1 + https://eehouse.org/xw4/api/v1 https://eehouse.org/xw4/faq.html#%1$s diff --git a/xwords4/android/app/src/main/res/xml/xwprefs.xml b/xwords4/android/app/src/main/res/xml/xwprefs.xml index 1e01178f3..aaa33d303 100644 --- a/xwords4/android/app/src/main/res/xml/xwprefs.xml +++ b/xwords4/android/app/src/main/res/xml/xwprefs.xml @@ -464,9 +464,9 @@ android:defaultValue="2" />