Update BotBase.cs
- Bugfix, Unhandled actions has been producing a loop
This commit is contained in:
parent
2c34a178ee
commit
b37c31f2bd
@ -442,11 +442,8 @@ namespace TelegramBotBase
|
|||||||
|
|
||||||
if (uhc.Handled)
|
if (uhc.Handled)
|
||||||
{
|
{
|
||||||
if (ds.FormSwitched)
|
e.Handled = true;
|
||||||
{
|
if (!ds.FormSwitched)
|
||||||
continue;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user