Fix Circular dependency OpenThreadPlatform (#30607)

diff --git a/src/app/server/Server.cpp b/src/app/server/Server.cpp
index 8aa1d37..65a4519 100644
--- a/src/app/server/Server.cpp
+++ b/src/app/server/Server.cpp
@@ -408,6 +408,16 @@
         ResumeSubscriptions();
 #endif
         break;
+#if CHIP_SYSTEM_CONFIG_USE_OPEN_THREAD_ENDPOINT
+    case DeviceEventType::kThreadConnectivityChange:
+        if (event.ThreadConnectivityChange.Result == kConnectivity_Established)
+        {
+            // Refresh Multicast listening
+            ChipLogDetail(DeviceLayer, "Thread Attached updating Multicast address");
+            RejoinExistingMulticastGroups();
+        }
+        break;
+#endif // CHIP_SYSTEM_CONFIG_USE_OPEN_THREAD_ENDPOINT
     default:
         break;
     }