Remove MaxConversationPerDay for database channel
This commit is contained in:
parent
43eb549bd0
commit
6dd892ac2e
|
|
@ -52,7 +52,7 @@ public class RateLimitConversationHook : ConversationHookBase
|
|||
var channel = states.GetState("channel");
|
||||
|
||||
// Check the number of conversations
|
||||
if (channel != ConversationChannel.Phone && channel != ConversationChannel.Email)
|
||||
if (channel != ConversationChannel.Phone && channel != ConversationChannel.Email && channel != ConversationChannel.Database)
|
||||
{
|
||||
var user = _services.GetRequiredService<IUserIdentity>();
|
||||
var convService = _services.GetRequiredService<IConversationService>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue