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