Client ID changed.

This commit is contained in:
Jens 2021-02-27 22:35:43 +01:00
parent fbd2e4d19b
commit 43210a90a2
2 changed files with 2 additions and 1 deletions

View File

@ -125,6 +125,7 @@ public class GUI
if(mainTextField.isEditable()) if(mainTextField.isEditable())
mainTextField.setEditable(false); mainTextField.setEditable(false);
mainTextField.setLineWrap(true);
mainTextField.setText(Miscellaneous.arrayImplode(Miscellaneous.lineSeparator, textEntriesList)); mainTextField.setText(Miscellaneous.arrayImplode(Miscellaneous.lineSeparator, textEntriesList));
JScrollBar vertical = mainTextFieldHolder.getVerticalScrollBar(); JScrollBar vertical = mainTextFieldHolder.getVerticalScrollBar();

View File

@ -17,7 +17,7 @@ import com.jens.rhasspy.visualtool.lib.JSONObject;
public class MQTT implements MqttCallbackExtended public class MQTT implements MqttCallbackExtended
{ {
final static String clientId = "RhasspyVisualConversationTool-" + Settings.siteId + "-" + String.valueOf(Calendar.getInstance().getTimeInMillis()); final static String clientId = "RhasspyVisualConversationTool-" + Settings.siteId;
final static int maximumReconnectionAttempts = -1; final static int maximumReconnectionAttempts = -1;
final static boolean forceReconnection = false; final static boolean forceReconnection = false;