Fixed bug with agent reconnecting (#6431)

Josiah Baldwin committed Oct 5, 2024 at 09:21 UTC 1d87c4297720dd1f6cb0a8fea282759b4320506e
1 file changed +1
agents/meshcore.js
+1
@@ -5788,6 +5788,7 @@ function handleServerConnection(state) {
5788
5789 // Update the server on with basic info, logged in users and more advanced stuff, like Intel ME and Network Settings
5790 meInfoStr = null;
5791 + LastPeriodicServerUpdate = null;
5792 sendPeriodicServerUpdate(null, true);
5793 if (selfInfoUpdateTimer == null) {
5794 selfInfoUpdateTimer = setInterval(sendPeriodicServerUpdate, 1200000); // 20 minutes