mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +00:00
fix: removes condition that blocked BeginPolling method call if using socket connection method
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user