fix: removes condition that blocked BeginPolling method call if using socket connection method

This commit is contained in:
Neil Dorin
2025-08-18 13:49:04 -06:00
parent 4854018d7b
commit a673122e00

View File

@@ -158,10 +158,8 @@ namespace PepperDash.Essentials.Core
Client.TextReceived += Client_TextReceived; Client.TextReceived += Client_TextReceived;
} }
if (!IsSocket) BeginPolling();
{
BeginPolling();
}
} }
void socket_ConnectionChange(object sender, GenericSocketStatusChageEventArgs e) void socket_ConnectionChange(object sender, GenericSocketStatusChageEventArgs e)