minor change
This commit is contained in:
parent
297db1e4e9
commit
f665da9edd
|
|
@ -99,17 +99,7 @@ public partial class EvaluatingService
|
|||
break;
|
||||
}
|
||||
|
||||
|
||||
if (curBotMsg.IsEqualTo(prevBotMsg))
|
||||
{
|
||||
duplicateCount++;
|
||||
}
|
||||
else
|
||||
{
|
||||
duplicateCount = 0;
|
||||
}
|
||||
|
||||
|
||||
duplicateCount = curBotMsg.IsEqualTo(prevBotMsg) ? duplicateCount + 1 : 0;
|
||||
if (duplicateCount >= request.Chat.DuplicateLimit)
|
||||
{
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue