mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
fix: only adjust IP if processor is a CS processor
This commit is contained in:
@@ -327,7 +327,7 @@ namespace PepperDash.Essentials.WebSocketServer
|
|||||||
}
|
}
|
||||||
|
|
||||||
string ip = processorIp;
|
string ip = processorIp;
|
||||||
if (touchpanel.Touchpanel is IMobileControlCrestronTouchpanelController crestronTouchpanel)
|
if (touchpanel.Touchpanel is IMobileControlCrestronTouchpanelController crestronTouchpanel && csIpAddress != null)
|
||||||
{
|
{
|
||||||
ip = crestronTouchpanel.ConnectedIps.Any(ipInfo =>
|
ip = crestronTouchpanel.ConnectedIps.Any(ipInfo =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user