Update BotBase.cs

- Bugfix, Unhandled actions has been producing a loop
This commit is contained in:
FlorianDahn 2020-10-20 19:10:30 +02:00
parent 2c34a178ee
commit b37c31f2bd

View File

@ -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;
} }