diff --git a/TelegramBotBase/SessionBase.cs b/TelegramBotBase/SessionBase.cs index 0c25d4a..67e309d 100644 --- a/TelegramBotBase/SessionBase.cs +++ b/TelegramBotBase/SessionBase.cs @@ -149,6 +149,10 @@ namespace TelegramBotBase continue; } + //Key already existing + if (this.SessionList.ContainsKey(s.DeviceId)) + continue; + var form = t.GetConstructor(new Type[] { })?.Invoke(new object[] { }) as FormBase; //No default constructor, fallback